lavf: Use av_get_audio_frame_duration() in get_audio_frame_size()
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 27 Feb 2012 20:54:41 +0000 (15:54 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Mon, 5 Mar 2012 18:08:18 +0000 (13:08 -0500)
commit6c65cf58fdeafc1bd7643305e66e0e073429c78d
treedc6b974ba1e1434733078f21b4ed93412cbe9421
parent11ac796f7ab2738eff19ea18847355363c8cc797
lavf: Use av_get_audio_frame_duration() in get_audio_frame_size()

Also, do not give AVCodecContext.frame_size priority for muxing.

Updated 2 FATE references:
dxa-feeble - adds 1 audio frame that is still within 2 seconds as specified
             by -t 2 in the FATE test
wmv8-drm-nodec - durations are not needed. previously they were estimated
                 using the packet size and average bit rate.
libavformat/utils.c
tests/ref/fate/dxa-feeble
tests/ref/fate/wmv8-drm-nodec