[libav-devel] [PATCH] Silence errors for I263 dummy frame

Dirk Ausserhaus dausserhaus at gmail.com
Wed Jun 18 10:18:44 CEST 2014

Indeo 4 B-frame takes more time than expected—it involves new buffer
management since two reference frames are required now, these
references should be propagated into ivi_common too etc.

And averaging there is (A + B) >> 1 indeed.

Meanwhile I've looked at I263 PB-frames decoding. Looks like B-frame
part of PB-frame is skipped in the middle of P-frame decoding so it
needs a bit more work too. I must admit current organisation is
somewhat strange—I263 frame header is read in intelh263dec.c,
PB-frames are handled in ituh263dec.c but main frame decoding function
is in h263dec.c.

Anyway, here's a small patch to silence decoding errors on dummy
frames. Those frame look like 8 bytes of previous frame header
(leftover garbage?) with first byte overwritten to contain picture
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-i263-skip-dummy-frames.patch
Type: text/x-diff
Size: 951 bytes
Desc: not available
URL: <http://lists.libav.org/pipermail/libav-devel/attachments/20140618/87274c69/attachment-0001.patch>

More information about the libav-devel mailing list