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

Michael Niedermayer michael at niedermayer.cc
Fri May 8 14:17:54 EEST 2020


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

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200508/87af622c/attachment.sig>


More information about the ffmpeg-devel mailing list