diff --git a/libavcodec/h264.c b/libavcodec/h264.c index f1c5104e80..0413ba470c 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2410,7 +2410,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0) if (slice_type > 9) { av_log(h->s.avctx, AV_LOG_ERROR, "slice type too large (%d) at %d %d\n", - h->slice_type, s->mb_x, s->mb_y); + slice_type, s->mb_x, s->mb_y); return -1; } if (slice_type > 4) {