[FFmpeg-devel] [PATCH] H.264: fix decoding of plain still images (broken since revision 14289)
Reimar Döffinger
Reimar.Doeffinger
Wed Jan 7 19:18:29 CET 2009
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).
Greetings,
Reimar D?ffinger
More information about the ffmpeg-devel
mailing list