[FFmpeg-devel] [PATCH 1/4] avcodec/proresdec2: change profile only if it is unknown

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Dec 5 23:35:10 EET 2018


2018-12-05 21:22 GMT+01:00, Paul B Mahol <onemda at gmail.com>:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavcodec/proresdec2.c | 51 ++++++++++++++++++++++-------------------
>  1 file changed, 27 insertions(+), 24 deletions(-)
>
> diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c
> index 8581d797fb..80a76bbba1 100644
> --- a/libavcodec/proresdec2.c
> +++ b/libavcodec/proresdec2.c
> @@ -140,32 +140,35 @@ static av_cold int decode_init(AVCodecContext *avctx)
>
>      avctx->bits_per_raw_sample = 10;
>
> -    switch (avctx->codec_tag) {

I beg you, please don't reindent.

Thank you, Carl Eugen


More information about the ffmpeg-devel mailing list