mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
avformat/mmf: Use AVFormatContext strict_std_compliance instead of AVCodecContext
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
470e116e3f
commit
da8cb1c361
@ -82,7 +82,7 @@ static int mmf_write_header(AVFormatContext *s)
|
|||||||
|
|
||||||
mmf->stereo = s->streams[0]->codec->channels > 1;
|
mmf->stereo = s->streams[0]->codec->channels > 1;
|
||||||
if (mmf->stereo &&
|
if (mmf->stereo &&
|
||||||
s->streams[0]->codec->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
|
s->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
|
||||||
av_log(s, AV_LOG_ERROR, "Yamaha SMAF stereo is experimental, "
|
av_log(s, AV_LOG_ERROR, "Yamaha SMAF stereo is experimental, "
|
||||||
"add '-strict %d' if you want to use it.\n",
|
"add '-strict %d' if you want to use it.\n",
|
||||||
FF_COMPLIANCE_EXPERIMENTAL);
|
FF_COMPLIANCE_EXPERIMENTAL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user