cbs_mpeg2: Fix format specifier
authorMark Thompson <sw@jkqxz.net>
Tue, 24 Oct 2017 21:57:44 +0000 (22:57 +0100)
committerMark Thompson <sw@jkqxz.net>
Tue, 24 Oct 2017 22:07:58 +0000 (23:07 +0100)
libavcodec/cbs_mpeg2.c

index 0cac297..8fb5375 100644 (file)
@@ -220,7 +220,7 @@ static int cbs_mpeg2_read_unit(CodedBitstreamContext *ctx,
             START(0xb8, MPEG2RawGroupOfPicturesHeader, group_of_pictures_header);
 #undef START
         default:
-            av_log(ctx->log_ctx, AV_LOG_ERROR, "Unknown start code %02x.\n",
+            av_log(ctx->log_ctx, AV_LOG_ERROR, "Unknown start code %"PRIx32".\n",
                    unit->type);
             return AVERROR_INVALIDDATA;
         }