aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/snow.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-04 12:39:28 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-04 12:39:28 +0200
commit4cb7cd4c84146770ccb925b7a95138f750bbdbd7 (patch)
treeaa2afa8b4af48c59753f46bb061a4145ab38ee61 /libavcodec/snow.c
parentc3f87f7545d42520921bc448b9fbd7324c574e49 (diff)
downloadffmpeg-4cb7cd4c84146770ccb925b7a95138f750bbdbd7.tar.gz
avcodec/snow: replace unspecific error code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r--libavcodec/snow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index 33a2dbc129..5201d57422 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -679,7 +679,7 @@ int ff_snow_frame_start(SnowContext *s){
s->ref_frames= i;
if(s->ref_frames==0){
av_log(s->avctx,AV_LOG_ERROR, "No reference frames\n");
- return -1;
+ return AVERROR_INVALIDDATA;
}
}
if ((ret = ff_snow_get_buffer(s, s->current_picture)) < 0)