diff options
Diffstat (limited to 'intern/ffmpeg')
-rw-r--r-- | intern/ffmpeg/ffmpeg_compat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/ffmpeg/ffmpeg_compat.h b/intern/ffmpeg/ffmpeg_compat.h index cd56e3b28d2..e072796abc4 100644 --- a/intern/ffmpeg/ffmpeg_compat.h +++ b/intern/ffmpeg/ffmpeg_compat.h @@ -298,4 +298,9 @@ int64_t av_get_pts_from_frame(AVFormatContext *avctx, AVFrame * picture) return pts; } +/* obsolete constant formerly defined in FFMpeg libavcodec/avcodec.h */ +#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE +# define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 // 1 second of 48khz 32bit audio +#endif + #endif |