diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-08-24 10:28:32 +0000 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-11-06 09:02:08 +0100 |
commit | 56dc46a1893251e74be1ad63e54fb38d754bb1fe (patch) | |
tree | 494be843557be4ffb1b905dfaec2559c63c43ba8 /libavcodec/cook.c | |
parent | 91e8d2eb1f7bf3af949008b106ec1ca037b88b0e (diff) | |
download | ffmpeg-56dc46a1893251e74be1ad63e54fb38d754bb1fe.tar.gz |
riffenc: do not fall back on AVCodecContext.frame_size for MP3
It will not be set unless the codec context is used as the encoding
context, which is discouraged. For MP2, av_get_audio_frame_duration()
will already set the frame size properly. For MP3, set the frame size
explicitly.
Diffstat (limited to 'libavcodec/cook.c')
0 files changed, 0 insertions, 0 deletions