[FFmpeg-devel] [PATCH v2 1/5] avcodec/mpegvideo_enc: reindent code

lance.lmwang at gmail.com lance.lmwang at gmail.com
Fri May 8 16:06:55 EEST 2020


On Fri, May 08, 2020 at 01:17:54PM +0200, Michael Niedermayer wrote:
> On Thu, May 07, 2020 at 07:14:13PM +0800, 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/mpegvideo_enc.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
> > index b2eb9cf..e1fd92c 100644
> > --- a/libavcodec/mpegvideo_enc.c
> > +++ b/libavcodec/mpegvideo_enc.c
> > @@ -596,8 +596,8 @@ FF_ENABLE_DEPRECATION_WARNINGS
> >      if ((s->codec_id == AV_CODEC_ID_WMV1 ||
> >           s->codec_id == AV_CODEC_ID_WMV2) &&
> >           avctx->width & 1) {
> > -         av_log(avctx, AV_LOG_ERROR, "width must be multiple of 2\n");
> > -         return -1;
> > +        av_log(avctx, AV_LOG_ERROR, "width must be multiple of 2\n");
> > +        return -1;
> >      }
> 
> LGTM

will apply.

> 
> thx
> 
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> 
> Democracy is the form of government in which you can choose your dictator



> _______________________________________________
> 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".


-- 
Thanks,
Limin Wang


More information about the ffmpeg-devel mailing list