diff options
Diffstat (limited to 'libavcodec/asv1.c')
-rw-r--r-- | libavcodec/asv1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/asv1.c b/libavcodec/asv1.c index ea7f052..3af6900 100644 --- a/libavcodec/asv1.c +++ b/libavcodec/asv1.c @@ -473,9 +473,8 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, int mb_x, mb_y; if ((ret = ff_alloc_packet2(avctx, pkt, a->mb_height*a->mb_width*MAX_MB_SIZE + - FF_MIN_BUFFER_SIZE)) < 0) { + FF_MIN_BUFFER_SIZE)) < 0) return ret; - } init_put_bits(&a->pb, pkt->data, pkt->size); |