Skip to content
Snippets Groups Projects
Commit 5ffcb1be authored by Måns Rullgård's avatar Måns Rullgård
Browse files

set sample rate in more logical place, kill warning

Originally committed as revision 9552 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 6785cae3
No related branches found
No related tags found
No related merge requests found
...@@ -146,9 +146,9 @@ static int mpegaudio_parse(AVCodecParserContext *s1, ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment