[FFmpeg-devel] [PATCH 1/4] vp8: Add hwaccel hooks

Mark Thompson sw at jkqxz.net
Sun Feb 19 23:29:33 EET 2017


On 19/02/17 21:04, Ronald S. Bultje wrote:
> Hi,
> 
> On Sun, Feb 19, 2017 at 12:23 PM, Mark Thompson <sw at jkqxz.net> wrote:
> 
>> diff --git a/libavcodec/webp.c b/libavcodec/webp.c
>>
> [..]
> 
>> +        avctx->get_format = webp_get_format;
> 
> 
> Docs say:
> "decoding: Set by user, if not set the native format will be chosen."
> So I don't think decoders are supposed to set this.

The webp decoder does not support get_format.  I suppose the user could technically store something there and then read it back, so save and restore the value across the relevant calls?

- Mark


More information about the ffmpeg-devel mailing list