You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/utils: Remove demuxer specific frame_size fallback from ff_get_audio_frame_size()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -719,10 +719,6 @@ int ff_get_audio_frame_size(AVCodecContext *enc, int size, int mux)
|
|||||||
{
|
{
|
||||||
int frame_size;
|
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)
|
if ((frame_size = av_get_audio_frame_duration(enc, size)) > 0)
|
||||||
return frame_size;
|
return frame_size;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user