[FFmpeg-devel] [PATCH v1 1/6] avcodec/magicyuv: cosmetics

lance.lmwang at gmail.com lance.lmwang at gmail.com
Fri Oct 11 09:14:39 EEST 2019


From: Limin Wang <lance.lmwang at gmail.com>

Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
---
 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



More information about the ffmpeg-devel mailing list