[FFmpeg-devel] [PATCH 1/2] avcodec/xan: fix style issue

Clément Bœsch u at pkh.me
Sat Aug 23 21:46:13 CEST 2014


On Sat, Aug 23, 2014 at 07:40:21PM +0000, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavcodec/xan.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/xan.c b/libavcodec/xan.c
> index 7489113..bb28916 100644
> --- a/libavcodec/xan.c
> +++ b/libavcodec/xan.c
> @@ -556,7 +556,7 @@ static int xan_decode_frame(AVCodecContext *avctx,
>          int i;
>          tag  = bytestream2_get_le32(&ctx);
>          size = bytestream2_get_be32(&ctx);
> -        if(size < 0) {
> +        if (size < 0) {
>              av_log(avctx, AV_LOG_ERROR, "Invalid tag size %d\n", size);
>              return AVERROR_INVALIDDATA;
>          }

Obviously OK. No need to send a patch for this.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140823/c2a411e0/attachment.asc>


More information about the ffmpeg-devel mailing list