Commit f226c25a authored by Paul B Mahol's avatar Paul B Mahol

avcodec/sipr: use AVERROR return code instead of -1

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent a9922613
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment