avformat/utils: Use internal->avctx for bitrate in estimate_timings_from_bit_rate...
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 22 Jun 2016 11:59:19 +0000 (13:59 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 22 Jun 2016 12:16:58 +0000 (14:16 +0200)
commit99c3c3237bb56bead8f996874e5a283069713f07
tree192cc66351083ff1a6d62d0be22d7863054424b9
parent4fecb97fd36c2abab474bcf4e69f904e107812d2
avformat/utils: Use internal->avctx for bitrate in estimate_timings_from_bit_rate() if needed

The internal avctx bitrate is copied into codecpar after estimate_timings()

Fixes Ticket5646

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/utils.c