OSDN Git Service

ff_parse_specific_params: do not use AVCodecContext.frame_size
authorAnton Khirnov <anton@khirnov.net>
Tue, 30 Dec 2014 06:51:04 +0000 (07:51 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 12 Dec 2015 20:19:50 +0000 (21:19 +0100)
commit9f1eccb97bf8894cb18b14f642500686505ef186
tree2956e8818cf74dd4764bc864fa794e2a4559a6cd
parent1f008f34d5b2b5f6217521747e7acfe3efc0e666
ff_parse_specific_params: do not use AVCodecContext.frame_size

It will not be set unless the muxing codec context is also the encoding
context, which is discouraged. When the frame size is not known from
av_get_audio_frame_duration(), the fallback should still be good enough.
libavformat/riffenc.c