diff options
Diffstat (limited to 'libavcodec/proresenc_kostya.c')
-rw-r--r-- | libavcodec/proresenc_kostya.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c index 4bbfe274a5..86037d3807 100644 --- a/libavcodec/proresenc_kostya.c +++ b/libavcodec/proresenc_kostya.c @@ -700,9 +700,8 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, pkt_size = ctx->frame_size + FF_MIN_BUFFER_SIZE; - if ((ret = ff_alloc_packet2(avctx, pkt, pkt_size)) < 0) { + if ((ret = ff_alloc_packet2(avctx, pkt, pkt_size)) < 0) return ret; - } orig_buf = pkt->data; |