diff options
Diffstat (limited to 'libavcodec/nellymoserenc.c')
-rw-r--r-- | libavcodec/nellymoserenc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/nellymoserenc.c b/libavcodec/nellymoserenc.c index 9587fe3a2b..59e08848f6 100644 --- a/libavcodec/nellymoserenc.c +++ b/libavcodec/nellymoserenc.c @@ -401,9 +401,8 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *avpkt, s->last_frame = 1; } - if ((ret = ff_alloc_packet2(avctx, avpkt, NELLY_BLOCK_LEN))) { + if ((ret = ff_alloc_packet2(avctx, avpkt, NELLY_BLOCK_LEN))) return ret; - } encode_block(s, avpkt->data, avpkt->size); /* Get the next frame pts/duration */ |