diff --git a/libavcodec/targaenc.c b/libavcodec/targaenc.c index 9e481e6027..82d7fe3599 100644 --- a/libavcodec/targaenc.c +++ b/libavcodec/targaenc.c @@ -121,7 +121,7 @@ static int targa_encode_frame(AVCodecContext *avctx, /* try RLE compression */ if (avctx->coder_type != FF_CODER_TYPE_RAW) - datasize = targa_encode_rle(out, picsize, p, bpp, avctx->width, avctx->height); + datasize = targa_encode_rle(out, picsize, p, bpp, avctx->width, avctx->height); /* if that worked well, mark the picture as RLE compressed */ if(datasize >= 0)