[FFmpeg-devel] [PATCH] Make a clear distinction between an unsupported codec and an unknown one

Stefano Sabatini stefano.sabatini-lala
Mon Sep 1 23:41:28 CEST 2008

On date Monday 2008-09-01 23:28:52 +0200, Stefano Sabatini encoded:
> We could have a structure named which could specify the *specific*
> formats supported by the codec, which could support a subset/superset
> of the referenced stream format, and could be done like this:
> typedef struct {
>     AVCodec *codec;          ///< codec owner
>     AVStreamFormat *format;  ///< format referenced
>     int capabilities;        ///< specific capabilities supported by the codec
>     constraints ...
> } AVCodecStreamFormat;
> Then every codec could have a list of supported AVCodecStreamFormats
> in decoding and in encoding, each one referencing to a specific
> AVStreamFormat.

OK maybe this isn't a good idea and could result messy, would be
simpler having just one codec per format.

FFmpeg = Frightening Fantastic Mastering Pitiful Elastic Guide

More information about the ffmpeg-devel mailing list