]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/sipr.c
vp9: initial attempt at a idct_idct_4x4 12bpp x86 simd (sse2) impl.
[ffmpeg] / libavcodec / sipr.c
index 4602a42484898bc1e1c0f157aa1652fe030493cc..595097a6b4fb600e05ea6ef9906bd76bd2614c2f 100644 (file)
@@ -537,7 +537,7 @@ static int sipr_decode_frame(AVCodecContext *avctx, void *data,
         av_log(avctx, AV_LOG_ERROR,
                "Error processing packet: packet size (%d) too small\n",
                avpkt->size);
-        return -1;
+        return AVERROR_INVALIDDATA;
     }
 
     /* get output buffer */