From: Limin Wang <[email protected]>
Signed-off-by: Limin Wang <[email protected]>
---
libavcodec/magicyuv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/magicyuv.c b/libavcodec/magicyuv.c
index 21a32785bc..0b1ac7345a 100644
--- a/libavcodec/magicyuv.c
+++ b/libavcodec/magicyuv.c
@@ -620,7 +620,7 @@ static int magy_decode_frame(AVCodecContext *avctx, void
*data,
}
s->max = 1 << s->bps;
s->magy_decode_slice = s->bps == 8 ? magy_decode_slice :
magy_decode_slice10;
- if ( s->bps == 8)
+ if (s->bps == 8)
s->huff_build = huff_build;
else
s->huff_build = s->bps == 10 ? huff_build10 : huff_build12;
@@ -640,7 +640,7 @@ static int magy_decode_frame(AVCodecContext *avctx, void
*data,
slice_width = bytestream2_get_le32(&gbyte);
if (slice_width != avctx->coded_width) {
- avpriv_request_sample(avctx, "Slice width %"PRIu32, slice_width);
+ avpriv_request_sample(avctx, "Slice width %"PRIu32"", slice_width);
return AVERROR_PATCHWELCOME;
}
s->slice_height = bytestream2_get_le32(&gbyte);
--
2.21.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".