Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 654176 | Differences between
and this patch

Collapse All | Expand All

(-)visualboyadvance-m-2.0.2/src/common/ffmpeg.cpp (-1 / +1 lines)
Lines 87-93 Link Here
87
// I don't see any ffmpeg functions to guess the size, either
87
// I don't see any ffmpeg functions to guess the size, either
88
88
89
// use frame size, or FF_MIN_BUFFER_SIZE (that seems to be what it wants)
89
// use frame size, or FF_MIN_BUFFER_SIZE (that seems to be what it wants)
90
#define AUDIO_BUF_LEN (frame_len > FF_MIN_BUFFER_SIZE ? frame_len : FF_MIN_BUFFER_SIZE)
90
#define AUDIO_BUF_LEN (frame_len > AV_INPUT_BUFFER_MIN_SIZE ? frame_len : FF_MIN_BUFFER_SIZE)
91
// use maximum frame size * 32 bpp * 2 for good measure
91
// use maximum frame size * 32 bpp * 2 for good measure
92
#define VIDEO_BUF_LEN (FF_MIN_BUFFER_SIZE + 256 * 244 * 4 * 2)
92
#define VIDEO_BUF_LEN (FF_MIN_BUFFER_SIZE + 256 * 244 * 4 * 2)
93
93

Return to bug 654176