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/rawdec: Also probe the last byte of mjpeg streams.
Fixes ticket
#6957
.
tags/n4.0
Carl Eugen Hoyos
8 years ago
parent
0b9b7f0b46
commit
251f0bcb7b
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/rawdec.c
+ 1
- 1
libavformat/rawdec.c
View File
@@ -130,7 +130,7 @@ static int mjpeg_probe(AVProbeData *p)
int nb_invalid = 0;
int nb_frames = 0;
for (i
=0; i<p->buf_size-2
; i++) {
for (i
= 0; i < p->buf_size - 1
; i++) {
int c;
if (p->buf[i] != 0xFF)
continue;
Write
Preview
Loading…
Cancel
Save