diff options
-rw-r--r-- | libavcodec/mpegaudio_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegaudio_parser.c b/libavcodec/mpegaudio_parser.c index 4eb2ea2928..e7cb7439e5 100644 --- a/libavcodec/mpegaudio_parser.c +++ b/libavcodec/mpegaudio_parser.c @@ -146,8 +146,8 @@ static int mpegaudio_parse(AVCodecParserContext *s1, s->frame_size = -1; } #endif - if(s->header_count > 1) - avctx->sample_rate= sr; + if(s->header_count > 1) + avctx->sample_rate= sr; } } } else |