]> git.sesse.net Git - ffmpeg/commit
avcodec/utvideodec: Set pro flag based on fourcc
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 31 Mar 2018 01:10:43 +0000 (03:10 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 1 Apr 2018 00:58:51 +0000 (02:58 +0200)
commit47b7c68ae54560e2308bdb6be4fb076c73b93081
tree02a395fe5c33a4e15302a6b2d6690f53e28657a4
parent8c980b1c92bbc98ed12b6a43269572aaacf31426
avcodec/utvideodec: Set pro flag based on fourcc

This avoids mixing 8bit variants with pro and 10bit with non pro mode.
Fixes: out of array read
Fixes: poc_03_30.avi
Found-by: GwanYeong Kim <gy741.kim@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/utvideodec.c