]> git.sesse.net Git - ffmpeg/commitdiff
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 0cac29733e4c487304485315912eaa7e45d3a525..8fb5375e3b918a19a09d78a57f3cc3d9a0c8f1a9 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;
         }