Can we change mjpeg_probe() then? It has the same problem.
"Everything was valid, and there's more than two frames, but it still has lower
score than extension-based guess"
libavformat/rawdec.c:184
if (nb_invalid == 0 && nb_frames > 2)
return AVPROBE_SCORE_EXTENSION / 2;
Vadim
Hey,
Trying to fix a bug #6113, I stumbled upon some strange logic in
libavformat/img2dec.c:jpeg_probe. It accepts first 2048 bytes of jpeg stream,
and tries to read it with some state machine. If it doesn't look like jpeg
stream, it returns 0 ("it's definitely not a jpeg").
After it read thro
ated memory */
unsigned size_max; /**< maximum allocated memory */
char reserved_internal_buffer[1024];
};
Vadim Kalinsky
kalinsky.ru
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
ated with modern PLs, but I don't see huge difference
in readability between the old and the new versions. Both are terrible :-)
0001-Squashed.patch
Description: Binary data
Vadim Kalinsky
kalinsky.ru
signature.asc
Description: Message signed w
C++ does not support anonymous struct.
0001-C-compatible-AVBPrint-definition.patch
Description: Binary data
Vadim Kalinsky
kalinsky.ru
signature.asc
Description: Message signed with OpenPGP using GPGMail
___
ffmpeg-devel mailing list