[FFmpeg-devel] [BUG?] pixel format conversion not handled

Kostya kostya.shishkov
Fri Jul 13 06:06:35 CEST 2007


On Thu, Jul 12, 2007 at 10:32:25PM +0200, Michael Niedermayer wrote:
> Hi
> 
> On Thu, Jul 12, 2007 at 08:38:13PM +0300, Kostya wrote:
> > I'm trying to test my decoder (svn://svn.mplayerhq.hu/soc/rv40) and
> > for some reason ffmpeg says "pixel format conversion not supported"
> > and gives only black frame while ffplay plays it fine (that garbage
> > my decoder produces for now).
> > 
> > It happens because ffmpeg does not set the input image format.
> > Can this be caused by my code, demuxer or something is wrong in
> > ffmpeg.c?
> 
> ffplay_g Blade2_640_1Mbps.rm
> ...
> *** glibc detected *** ./ffplay_g: corrupted double-linked list: 0x0868f1b0 ***
> 
> maybe you should run this under valgrind ...

Found one place where memset goes out of bounds but this problem caused
by different means. 

It happens only on Sample.rmvb (http://samples.mplayerhq.hu/real/VC-RV40/)
and looks like it does so because of some additional unknown codec.
I must add this happens by passing icodec->pix_fmt=-1 to sws_getContext()
even before codec init. 
 
> [...]
> 
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> 
> Complexity theory is the science of finding the exact solution to an
> approximation. Benchmarking OTOH is finding an approximation of the exact




More information about the ffmpeg-devel mailing list