summaryrefslogtreecommitdiff
path: root/libavcodec/gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/gif.c')
-rw-r--r--libavcodec/gif.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/gif.c b/libavcodec/gif.c
index b8d7f1ac41..ba777cbbea 100644
--- a/libavcodec/gif.c
+++ b/libavcodec/gif.c
@@ -164,9 +164,8 @@ static int gif_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
uint8_t *outbuf_ptr, *end;
int ret;
- if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width*avctx->height*7/5 + FF_MIN_BUFFER_SIZE)) < 0) {
+ if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width*avctx->height*7/5 + FF_MIN_BUFFER_SIZE)) < 0)
return ret;
- }
outbuf_ptr = pkt->data;
end = pkt->data + pkt->size;