[FFmpeg-devel] [PATCH 1/2] avcodec: add decode_error field to AVFrame

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Jul 10 20:28:51 CEST 2012


On Sun, Jul 08, 2012 at 06:12:08PM +0200, Marton Balint wrote:
> +    /**
> +     * decode error flag of the frame, set to a nonzero codec-specific error
> +     * code if the decoder produced a frame, but there were errors during
> +     * the decoding.

I don't like the codec specific error. I'd very much prefer this to be a
bit field, with at least some things pre-defined.
I don't mind a part being reserved for codec-specific stuff though.


More information about the ffmpeg-devel mailing list