-
- Downloads
fix dereferencing of NULL pointers for APSs
When calling pcPicCurr->finalInit() pointers to LMCS APS or Scalining List APS can be zero. Dereferencing those is undefined. It's also not necessary, because the arguments passed as reference are later converted to pointers again.
Showing
- source/Lib/CommonLib/Picture.cpp 4 additions, 4 deletionssource/Lib/CommonLib/Picture.cpp
- source/Lib/CommonLib/Picture.h 2 additions, 2 deletionssource/Lib/CommonLib/Picture.h
- source/Lib/CommonLib/Slice.cpp 2 additions, 2 deletionssource/Lib/CommonLib/Slice.cpp
- source/Lib/CommonLib/Slice.h 1 addition, 1 deletionsource/Lib/CommonLib/Slice.h
- source/Lib/DecoderLib/DecLib.cpp 4 additions, 4 deletionssource/Lib/DecoderLib/DecLib.cpp
- source/Lib/EncoderLib/EncGOP.cpp 2 additions, 2 deletionssource/Lib/EncoderLib/EncGOP.cpp
- source/Lib/EncoderLib/EncLib.cpp 8 additions, 8 deletionssource/Lib/EncoderLib/EncLib.cpp
Loading
Please register or sign in to comment