]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/v410enc.c
sonic: mark as experimental
[ffmpeg] / libavcodec / v410enc.c
index e278ac4e2794bc9a1f9b5db27ed69b20b369598e..1d4699bd77c154e66e59916b64e9cd219bfea57a 100644 (file)
@@ -49,9 +49,8 @@ static int v410_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
     uint32_t val;
     int i, j, ret;
 
-    if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 4)) < 0) {
+    if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 4)) < 0)
         return ret;
-    }
     dst = pkt->data;
 
     avctx->coded_frame->reference = 0;