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: Fixed dereference after null check
Fixes Coverity CID 1341576 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.0
Alex Agranovsky
Michael Niedermayer
10 years ago
parent
80ceb4696a
commit
7fd1c85e51
1 changed files
with
4 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-2
libavformat/mpjpegdec.c
+ 4
- 2
libavformat/mpjpegdec.c
View File
@@ -260,8 +260,10 @@ static char* mpjpeg_get_boundary(AVIOContext* pb)
start = mime_type;
while (start != NULL && *start != '\0') {
start = strchr(start, ';');
if (start)
start = start+1;
if (!start)
break;
start = start+1;
while (av_isspace(*start))
start++;
Write
Preview
Loading…
Cancel
Save