diff options
author | Mark Thompson <sw@jkqxz.net> | 2018-02-21 21:25:48 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-02-21 21:25:48 +0000 |
commit | cacb47633c043a4bafb6872716dd8c4479dc4df1 (patch) | |
tree | b3cce473c9aee7a019081c9b06501362fe778a16 /libavcodec/cbs_mpeg2.c | |
parent | d28eb0e34d80f12b779c7b6befc5b350ffcdf476 (diff) | |
parent | 1d12a545ce828eaf4fb37295400008ea37635ab8 (diff) | |
download | ffmpeg-cacb47633c043a4bafb6872716dd8c4479dc4df1.tar.gz |
Merge commit '1d12a545ce828eaf4fb37295400008ea37635ab8'
* commit '1d12a545ce828eaf4fb37295400008ea37635ab8':
cbs: Add an explicit type for coded bitstream unit types
Mostly already present from 6734eef6b8b464139fdc140ec9bc9e8d74173869, two
minor message changes are merged.
Merged-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'libavcodec/cbs_mpeg2.c')
-rw-r--r-- | libavcodec/cbs_mpeg2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/cbs_mpeg2.c b/libavcodec/cbs_mpeg2.c index 642a9c99b1..c721f5097e 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 %"PRIx32".\n", + av_log(ctx->log_ctx, AV_LOG_ERROR, "Unknown start code %02"PRIx32".\n", unit->type); return AVERROR_INVALIDDATA; } @@ -248,7 +248,7 @@ static int cbs_mpeg2_write_header(CodedBitstreamContext *ctx, #undef START default: av_log(ctx->log_ctx, AV_LOG_ERROR, "Write unimplemented for start " - "code %02"PRIu32".\n", unit->type); + "code %02"PRIx32".\n", unit->type); return AVERROR_PATCHWELCOME; } |