diff options
author | Paul B Mahol <onemda@gmail.com> | 2015-10-10 17:31:12 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2015-10-11 18:40:28 +0200 |
commit | f226c25a3740a280db5e5d27bf438d4a45fc426a (patch) | |
tree | a21cf6584f615fab9b9f5df6687e0b164fd5007b /libavcodec | |
parent | a99226133e078d5b27d5f1b29c04535790c8ed5d (diff) | |
download | ffmpeg-f226c25a3740a280db5e5d27bf438d4a45fc426a.tar.gz |
avcodec/sipr: use AVERROR return code instead of -1
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/sipr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/sipr.c b/libavcodec/sipr.c index 4602a42484..595097a6b4 100644 --- a/libavcodec/sipr.c +++ b/libavcodec/sipr.c @@ -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 */ |