diff options
author | Måns Rullgård <mans@mansr.com> | 2007-07-08 23:15:10 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-07-08 23:15:10 +0000 |
commit | 5ffcb1be1f291b3bc22d71e147eb2b0a33c8dc9c (patch) | |
tree | 30c11b6b9d850babda839c969d9b3887e58c1a2b | |
parent | 6785cae35c4b5d407eac2d06d95e7049c191d1f3 (diff) | |
download | ffmpeg-5ffcb1be1f291b3bc22d71e147eb2b0a33c8dc9c.tar.gz |
set sample rate in more logical place, kill warning
Originally committed as revision 9552 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/mpegaudio_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudio_parser.c b/libavcodec/mpegaudio_parser.c index b41fcf4842..4eb2ea2928 100644 --- a/libavcodec/mpegaudio_parser.c +++ b/libavcodec/mpegaudio_parser.c @@ -146,9 +146,9 @@ static int mpegaudio_parse(AVCodecParserContext *s1, s->frame_size = -1; } #endif - } if(s->header_count > 1) avctx->sample_rate= sr; + } } } else #if 0 |