X-Git-Url: https://git.piment-noir.org/?p=deb_ffmpeg.git;a=blobdiff_plain;f=ffmpeg%2Flibavformat%2Fyuv4mpegenc.c;h=cc954fcc6301aeb2adfe89ded67c53012a4648e0;hp=a7f2d8ae9bd2ce4d08f3640ac7e958c8f8e925a7;hb=f6fa7814ccfe3e76514b36cf04f5cd3cb657c8cf;hpb=2ba45a602cbfa7b771effba9b11bb4245c21bc00 diff --git a/ffmpeg/libavformat/yuv4mpegenc.c b/ffmpeg/libavformat/yuv4mpegenc.c index a7f2d8a..cc954fc 100644 --- a/ffmpeg/libavformat/yuv4mpegenc.c +++ b/ffmpeg/libavformat/yuv4mpegenc.c @@ -268,7 +268,7 @@ static int yuv4_write_header(AVFormatContext *s) case AV_PIX_FMT_YUV420P16: case AV_PIX_FMT_YUV422P16: case AV_PIX_FMT_YUV444P16: - if (s->streams[0]->codec->strict_std_compliance >= FF_COMPLIANCE_NORMAL) { + if (s->strict_std_compliance >= FF_COMPLIANCE_NORMAL) { av_log(s, AV_LOG_ERROR, "'%s' is not a official yuv4mpegpipe pixel format. " "Use '-strict -1' to encode to this pixel format.\n", av_get_pix_fmt_name(s->streams[0]->codec->pix_fmt));