avformat/utils: Remove demuxer specific frame_size fallback from ff_get_audio_frame_size()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/74/merge
Michael Niedermayer 10 years ago
parent 1d7544b752
commit 986ec3417a
  1. 4
      libavformat/utils.c

@ -719,10 +719,6 @@ int ff_get_audio_frame_size(AVCodecContext *enc, int size, int mux)
{
int frame_size;
/* give frame_size priority if demuxing */
if (!mux && enc->frame_size > 1)
return enc->frame_size;
if ((frame_size = av_get_audio_frame_duration(enc, size)) > 0)
return frame_size;

Loading…
Cancel
Save