rtpenc: use av_get_audio_frame_duration() for max_frames_per_packet
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 27 Feb 2012 08:01:45 +0000 (03:01 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Mon, 5 Mar 2012 18:08:16 +0000 (13:08 -0500)
commit14aecc50fae6466fe9c16992a2929fb86497f237
treecab79c954c7863188d431e6d7c69320a2ef355a4
parentc019070fda6468d16bb5d0891e203cc3fe87605e
rtpenc: use av_get_audio_frame_duration() for max_frames_per_packet

It is more reliable than AVCodecContext.frame_size for codecs with constant
packet duration.
libavformat/rtpenc.c