Commit 4cb7cd4c authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/snow: replace unspecific error code

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c3f87f75
......@@ -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)
......
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