diff options
Diffstat (limited to 'libavcodec/v308enc.c')
-rw-r--r-- | libavcodec/v308enc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/v308enc.c b/libavcodec/v308enc.c index c728b01..d5c5fb0 100644 --- a/libavcodec/v308enc.c +++ b/libavcodec/v308enc.c @@ -48,9 +48,8 @@ static int v308_encode_frame(AVCodecContext *avctx, AVPacket *pkt, uint8_t *y, *u, *v; int i, j, ret; - if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 3)) < 0) { + if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 3)) < 0) return ret; - } dst = pkt->data; avctx->coded_frame->reference = 0; |