You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/dpx: fix use of uninitialised value
Found by Valgrind. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -333,10 +333,12 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
break;
|
||||
case 50: // RGB
|
||||
elements = 3;
|
||||
yuv = 0;
|
||||
break;
|
||||
case 52: // ABGR
|
||||
case 51: // RGBA
|
||||
elements = 4;
|
||||
yuv = 0;
|
||||
break;
|
||||
case 100: // UYVY422
|
||||
elements = 2;
|
||||
|
Reference in New Issue
Block a user