[FFmpeg-cvslog] cbs_mpeg2: Fix format specifier

Mark Thompson git at videolan.org
Wed Oct 25 01:09:09 EEST 2017


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Tue Oct 24 22:57:44 2017 +0100| [79d666aa57517eda4ad71a83af0c63c722efef70] | committer: Mark Thompson

cbs_mpeg2: Fix format specifier

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=79d666aa57517eda4ad71a83af0c63c722efef70
---

 libavcodec/cbs_mpeg2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/cbs_mpeg2.c b/libavcodec/cbs_mpeg2.c
index 0cac29733e..8fb5375e3b 100644
--- a/libavcodec/cbs_mpeg2.c
+++ b/libavcodec/cbs_mpeg2.c
@@ -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;
         }



More information about the ffmpeg-cvslog mailing list