[Ffmpeg-devel] broken decode of a jpeg

Luca Ognibene luogni
Tue Nov 15 15:13:41 CET 2005


This jpeg is not decoded right with ffmpeg. 
I've tried several other apps and they work all fine. I'm attaching
to this email a test program and a jpeg.

gcc -o decode decode.c  `pkg-config --libs --cflags libavcodec`
./decode image.jpg
eog test0.pgm

The decoded frame is compltely gray. If someone can help me fixing this
bug.. Any comment would be helpful :)

ciao
Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: decode.c
Type: text/x-csrc
Size: 4839 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20051115/164cf56a/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.jpg
Type: image/jpeg
Size: 48896 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20051115/164cf56a/attachment.jpg>



More information about the ffmpeg-devel mailing list