[FFmpeg-devel] [PATCH v1 1/6] avcodec/magicyuv: cosmetics
Paul B Mahol
onemda at gmail.com
Fri Oct 11 14:46:19 EEST 2019
second part is pointless
On 10/11/19, lance.lmwang at gmail.com <lance.lmwang at gmail.com> wrote:
> 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list