[FFmpeg-devel] [PATCH v1 3/6] avcodec/xwddec: cosmetics

Paul B Mahol onemda at gmail.com
Fri Oct 11 17:44:45 EEST 2019


On 10/11/19, Limin Wang <lance.lmwang at gmail.com> wrote:
> On Fri, Oct 11, 2019 at 01:45:34PM +0200, Paul B Mahol wrote:
>> pointless
>>
> It's OK, I saw two different code style, so I change it for consistent.
>

No, it is not OK, please refrain from posting such patches, they are
considered spam.

Also stop posting messages only to me.

> It seems that the current style is used more than changed in same file:
> line 105:
> avpriv_request_sample(avctx, "xoffset %"PRIu32"", xoffset);
> line 208
> avpriv_request_sample(avctx,
>                                "Unknown file: bpp %"PRIu32", pixdepth
> %"PRIu32", vclass %"PRIu32"",
>                                bpp, pixdepth, vclass);
>
>
>> 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/xwddec.c | 2 +-
>> >  1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git a/libavcodec/xwddec.c b/libavcodec/xwddec.c
>> > index 8c4358fd4c..924ba020da 100644
>> > --- a/libavcodec/xwddec.c
>> > +++ b/libavcodec/xwddec.c
>> > @@ -151,7 +151,7 @@ static int xwd_decode_frame(AVCodecContext *avctx,
>> > void
>> > *data,
>> >      }
>> >
>> >      if (pixformat != XWD_Z_PIXMAP) {
>> > -        avpriv_report_missing_feature(avctx, "Pixmap format %"PRIu32,
>> > pixformat);
>> > +        avpriv_report_missing_feature(avctx, "Pixmap format
>> > %"PRIu32"",
>> > pixformat);
>> >          return AVERROR_PATCHWELCOME;
>> >      }
>> >
>> > --
>> > 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