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
lavf/mpjpegdec: Return 0 if an allocation inside the probe function fails.
tags/n3.0
Carl Eugen Hoyos
10 years ago
parent
6debfce6a3
commit
c52c78cc56
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/mpjpegdec.c
+ 1
- 1
libavformat/mpjpegdec.c
View File
@@ -98,7 +98,7 @@ static int mpjpeg_read_probe(AVProbeData *p)
pb = avio_alloc_context(p->buf, p->buf_size, 0, NULL, NULL, NULL, NULL);
if (!pb)
return
AVERROR(ENOMEM)
;
return
0
;
ret = (parse_multipart_header(pb, NULL)>0)?AVPROBE_SCORE_MAX:0;
Write
Preview
Loading…
Cancel
Save