OSDN Git Service

riffenc: use av_get_audio_frame_duration()
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 27 Feb 2012 07:34:14 +0000 (02:34 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Mon, 5 Mar 2012 18:08:15 +0000 (13:08 -0500)
commitc019070fda6468d16bb5d0891e203cc3fe87605e
tree4c2f94e835343e56bf40d308a9c0c7ebbbcb53a6
parent9524cf79df9f4f5792272e7e53f7dcc90ee26e61
riffenc: use av_get_audio_frame_duration()

For encoding, frame_size is not a reliable indicator of packet duration.
Also, we don't want to have to force the demuxer to find frame_size for
stream copy to work.
libavformat/riff.c