[FFmpeg-devel] [PATCH] avcodec/utils: only warn when passed invalid lowres value

Michael Niedermayer michael at niedermayer.cc
Fri Aug 12 17:34:49 EEST 2016

On Thu, Aug 04, 2016 at 03:35:57PM -0700, Aman Gupta wrote:
> From: Aman Gupta <aman at tmm1.net>
> This makes it easier to use the lowres option when dealing with input
> files in different codecs. If the codec doesn't support lowres=1 for
> instance, it will throw a warning and use lowres=0 instead of erroring
> out completely.
> ---
>  libavcodec/utils.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

as video decoders can change their resolution at any time, this should
be ok thus


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160812/359628b1/attachment.sig>

More information about the ffmpeg-devel mailing list