Quoting Luca Barbato (2015-02-27 02:41:42)
> The encoder or decoder might be disabled but the format would be
> supported for at least remuxing.
> ---
> 
> Yet another small issue reported.
> 
>  libavdevice/v4l2.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
> index 8bbc956..8904771 100644
> --- a/libavdevice/v4l2.c
> +++ b/libavdevice/v4l2.c
> @@ -318,9 +318,9 @@ static void list_formats(AVFormatContext *ctx, int fd, 
> int type)
>                     vfd.description);
>          } else if (vfd.flags & V4L2_FMT_FLAG_COMPRESSED &&
>                     type & V4L_COMPFORMATS) {
> -            AVCodec *codec = avcodec_find_encoder(codec_id);
> +            AVCodecDescriptor *desc = avcodec_descriptor_get(codec_id);

const

Otherwise ok.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to