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 |
|