[FFmpeg-devel] H.264: passing 2 fields at once to avcodec_decode_video() gives errors

Michael Niedermayer michaelni
Sun Apr 12 22:50:33 CEST 2009


On Wed, Apr 08, 2009 at 10:19:28PM +0200, Reinhard Nissl wrote:
> Hi,
> 
> Michael Niedermayer schrieb:
> 
> >> AFAIK, H.264 still decoder doesn't support handling more than one picture 
> >> (field or frame) in one call, 
> > 
> > yes, and a patch fixing this is welcome
> 
> [...]
> 
> > move the few lines of code that are executed after the loop&field into it
> > under appropriate if()
> 
> Please have a look at the attached patch (based on H.264 spec,
> 7.4.1.2.3). Is this the right way to go?

no, anyway the issue might be fixed

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- 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/20090412/d85ecc83/attachment.pgp>



More information about the ffmpeg-devel mailing list