mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec/hevc_sei: fix use of uninitialized variables in decode_nal_sei_frame_packing_arrangement()
Fixes CID1135773/1135774/1135775 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3dbf9afe85
commit
180a0b1bcb
@ -52,7 +52,10 @@ static void decode_nal_sei_decoded_picture_hash(HEVCContext *s)
|
||||
static void decode_nal_sei_frame_packing_arrangement(HEVCContext *s)
|
||||
{
|
||||
GetBitContext *gb = &s->HEVClc->gb;
|
||||
int cancel, type, quincunx, content;
|
||||
int cancel;
|
||||
int quincunx = 0;
|
||||
int content = -1;
|
||||
int type = -1;
|
||||
|
||||
get_ue_golomb(gb); // frame_packing_arrangement_id
|
||||
cancel = get_bits1(gb); // frame_packing_cancel_flag
|
||||
|
Loading…
Reference in New Issue
Block a user