[FFmpeg-devel] [PATCH] avcodec/dnxhddec: fix decoding of DNxHR HQX 10-bit

Paul B Mahol onemda at gmail.com
Wed Feb 22 15:51:46 EET 2017


On 2/22/17, Paul B Mahol <onemda at gmail.com> wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavcodec/dnxhddec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
> index 70ce264..cdbc0bc 100644
> --- a/libavcodec/dnxhddec.c
> +++ b/libavcodec/dnxhddec.c
> @@ -435,7 +435,7 @@ static int dnxhd_decode_dct_block_8(const DNXHDContext
> *ctx,
>  static int dnxhd_decode_dct_block_10(const DNXHDContext *ctx,
>                                       RowContext *row, int n)
>  {
> -    return dnxhd_decode_dct_block(ctx, row, n, 6, 8, 4, 0);
> +    return dnxhd_decode_dct_block(ctx, row, n, 6, 32, 6, 0);
>  }
>
>  static int dnxhd_decode_dct_block_10_444(const DNXHDContext *ctx,
> --
> 2.9.3
>
>

File can be found here:
https://drive.google.com/open?id=0B1hdyiz226iBV1llcDl3LW80U2c


More information about the ffmpeg-devel mailing list