mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-29 02:33:04 +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
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user