mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-01 01:17:47 +00: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:
parent
6785cae35c
commit
5ffcb1be1f
1 changed files with 1 additions and 1 deletions
|
@ -146,10 +146,10 @@ 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
|
||||||
if (s->frame_size == -1) {
|
if (s->frame_size == -1) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue