You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/snow: replace unspecific error code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -679,7 +679,7 @@ int ff_snow_frame_start(SnowContext *s){
|
|||||||
s->ref_frames= i;
|
s->ref_frames= i;
|
||||||
if(s->ref_frames==0){
|
if(s->ref_frames==0){
|
||||||
av_log(s->avctx,AV_LOG_ERROR, "No reference frames\n");
|
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)
|
if ((ret = ff_snow_get_buffer(s, s->current_picture)) < 0)
|
||||||
|
Reference in New Issue
Block a user