]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/sipr.c
avcodec/adpcm: increase max channels for ADPCM PSX to 8
[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 */