diff options
Diffstat (limited to 'libavcodec/pamenc.c')
-rw-r--r-- | libavcodec/pamenc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/pamenc.c b/libavcodec/pamenc.c index 27d135f8dc..3c36c5be86 100644 --- a/libavcodec/pamenc.c +++ b/libavcodec/pamenc.c @@ -88,9 +88,8 @@ static int pam_encode_frame(AVCodecContext *avctx, AVPacket *pkt, return -1; } - if ((ret = ff_alloc_packet2(avctx, pkt, n*h + 200)) < 0) { + if ((ret = ff_alloc_packet2(avctx, pkt, n*h + 200)) < 0) return ret; - } *p = *pict; p->pict_type = AV_PICTURE_TYPE_I; |