[libav-devel] [PATCH] Silence errors for I263 dummy frame
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...
Size: 951 bytes
Desc: not available
More information about the libav-devel