mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-07 17:51:52 +08:00
set sample rate in more logical place, kill warning
Originally committed as revision 9552 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -146,9 +146,9 @@ static int mpegaudio_parse(AVCodecParserContext *s1,
|
|||||||
s->frame_size = -1;
|
s->frame_size = -1;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
|
||||||
if(s->header_count > 1)
|
if(s->header_count > 1)
|
||||||
avctx->sample_rate= sr;
|
avctx->sample_rate= sr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
#if 0
|
#if 0
|
||||||
|
Reference in New Issue
Block a user