[FFmpeg-devel] [PATCH] VP8 de/encode via libvpx

James Zern jzern
Thu May 20 04:12:25 CEST 2010


On Wed, May 19, 2010 at 20:21, Stefano Sabatini
<stefano.sabatini-lala at poste.it> wrote:
>> + ? ?}
>> +
>> + ? ?if ((img = vpx_codec_get_frame(&ctx->decoder, &iter))) {
>> + ? ? ? ?if (img->fmt != IMG_FMT_I420) {
>> + ? ? ? ? ? ?av_log(avctx, AV_LOG_ERROR, "Unsupported output colorspace (%d)\n",
>> + ? ? ? ? ? ? ? ? ? img->fmt);
>> + ? ? ? ? ? ?return -1;
>
> This may be bot AVERROR_INVALIDDATA or PATCHWELCOME if the standard
> define its support but it's not yet implemented.

Other image formats a defined, but for encode only. At the moment the
decoder will only output I420 and there's no way to configure it
otherwise, so perhaps invalid data is more appropriate.



More information about the ffmpeg-devel mailing list