diff options
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index b932322ed7..bba5b2ae35 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2018,7 +2018,7 @@ static int has_codec_parameters(AVStream *st) break; case AVMEDIA_TYPE_VIDEO: val = avctx->width; - if (st->info->found_decoder >= 0 && avctx->pix_fmt == PIX_FMT_NONE) + if (st->info->found_decoder >= 0 && avctx->pix_fmt == AV_PIX_FMT_NONE) return 0; break; default: |