This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Return AVERROR(EINVAL) rather than -1 in case of invalid values.
Originally committed as revision 25274 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Stefano Sabatini
14 years ago
parent
448ce9258c
commit
ab3efd0077
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavfilter/vsrc_nullsrc.c
+ 1
- 1
libavfilter/vsrc_nullsrc.c
View File
@@ -39,7 +39,7 @@ static int init(AVFilterContext *ctx, const char *args, void *opaque)
if (priv->w <= 0 || priv->h <= 0) {
av_log(ctx, AV_LOG_ERROR, "Non-positive size values are not acceptable.\n");
return
-1
;
return
AVERROR(EINVAL)
;
}
return 0;
Write
Preview
Loading…
Cancel
Save