Re: [FFmpeg-devel] [PATCH 3/6] avcodec/dvbsubdec: Cosmetics

2020-06-26 Thread lance . lmwang
On Fri, Jun 26, 2020 at 10:48:23AM +0200, Moritz Barsnick wrote: > On Fri, Jun 26, 2020 at 08:47:23 +0800, lance.lmw...@gmail.com wrote: > > region->depth = 1 << (((*buf++) >> 2) & 7); > > -if(region->depth<2 || region->depth>8){ > > +if (region->depth<2 || region->depth>8){ >

Re: [FFmpeg-devel] [PATCH 3/6] avcodec/dvbsubdec: Cosmetics

2020-06-26 Thread Moritz Barsnick
On Fri, Jun 26, 2020 at 08:47:23 +0800, lance.lmw...@gmail.com wrote: > region->depth = 1 << (((*buf++) >> 2) & 7); > -if(region->depth<2 || region->depth>8){ > +if (region->depth<2 || region->depth>8){ ^^ You might as well fix this as well

[FFmpeg-devel] [PATCH 3/6] avcodec/dvbsubdec: Cosmetics

2020-06-25 Thread lance . lmwang
From: Limin Wang reindent code and fix the if( style Signed-off-by: Limin Wang --- libavcodec/dvbsubdec.c | 90 +- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index 263ba59..d151