[FFmpeg-devel] [PATCH] H.264: fix decoding of plain still images (broken since revision 14289)

Michael Niedermayer michaelni
Wed Jan 7 20:55:40 CET 2009

On Wed, Jan 07, 2009 at 07:18:29PM +0100, Reimar D?ffinger wrote:
> On Wed, Jan 07, 2009 at 07:07:54PM +0100, Michael Niedermayer wrote:
> > On Wed, Jan 07, 2009 at 06:22:58PM +0100, Reimar D?ffinger wrote:
> > > I only concluded that AVParser would not split it because the
> > > corresponding hunk from here:
> > > http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2006-November/019538.html
> > > was not applied - at least I guessed that the "if(state ==
> > > SEQ_END_CODE)" was for that purpose, I did not check that carefully.
> > 
> > well if you look at svn, you will see that there is a check for SEQ_END_CODE
> > in the parser. I assumed that this code works, i did not test it.
> Don't worry then, ffdshow probably does not use AVParser. I was not
> testing anything myself, I was just giving someone else a few hints
> where to look to fix DVD still frames with ffdshow.
> I do have the impression that quite a few people forget to call decode
> with NULL at the end, if someone here did that mistake too they are
> welcome to suggest a place to document it where it can't be missed ;-)

> (seems the avcodec_decode_video does not mention it).

thanks, fixed

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090107/2017e642/attachment.pgp>

More information about the ffmpeg-devel mailing list