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

Reinhard Nissl rnissl
Mon Apr 13 00:59:18 CEST 2009


Michael Niedermayer schrieb:

>>> 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,
>> Is this the right way to go?
> no, anyway the issue might be fixed

As it is not okay to leave the function I'll have to move some
code from the calling function to this one, just to do the switch
to the next field?

So the patch shouldn't go to far -- it shall just work for these
scenarios and not try to fix things that are broken in the client
- pass in data for a single frame (works already)
- pass in data for a single field (works already)
- pass in data for a pair of fields (still missing)

Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de

More information about the ffmpeg-devel mailing list