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

Kostya Shishkov kostya.shishkov at gmail.com
Thu Jun 19 13:14:31 CEST 2014

On Wed, Jun 18, 2014 at 10:18:44AM +0200, Dirk Ausserhaus wrote:
> 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
> number.

No objections so far, so I've checked that it passes FATE and committed.

More information about the libav-devel mailing list