| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Joint stereo encoded mono is impossible.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 50cf5a7fb78846fc39b3ecdaa896a10bcd74da2a)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
| |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 22e76ec635bafdd1d1ec35581a7ac09e69e3c43e)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
decode_tonal_components returns a proper AVERROR.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 874c8a17ac9b04fb7ac23d003e54e3662dd23b4e)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Checking per subband would have the index exceed the
dithering noise table size.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 744a11c996641888d477a3981d609e79eeb69ea9)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Apply the usual style plus drop few unnecessary return at the end
of void functions.
(cherry picked from commit 76efedeadb1f6bf79020c44a71dd0cee13d932ad)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
| |
(cherry picked from commit f054e309c58894450a5d18cce9799ef58aab9f14)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Prevent out of buffer write.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit c4abc9098cacb227dba39bac6aea16b2bceba0d0)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
| |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 4e7f0b082d8c4b360312216b9241bec65ff63b35)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Avoid some boilerplate code to dynamically allocate and then free the
buffers.
(cherry picked from commit 8f689770548c86151071ef976cf9b6998ba21c2a)
Signed-off-by: Reinhard Tartler <[email protected]>
Conflicts:
libavcodec/kmvc.c
|
|
|
|
|
|
|
|
|
| |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 6a10142faa1cca8ba2bfe51b970754f62d60f320)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
| |
Trim some overly long lines.
(cherry picked from commit 6dfacd7ab126aea1392949d1aa10fdc3d3eeb911)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Spin large and mostly self contained blocks into stand alone
functions.
(cherry picked from commit 62256010e9bc8879e2bf7f3b94af8ff85e239082)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
| |
Spare an indentation level.
(cherry picked from commit f6f36ca8ca1b2526d3abff7d7c627322d3bce912)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
| |
(cherry picked from commit e6d8acf6a8fba4743eb56eabe72a741d1bbee3cb)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
| |
(cherry picked from commit dd3754a48854cd570d38db72394491aab0f36570)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
The same is done already for qdelta.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit b36e1893ef3430f039c1eaddeedcbb378f9c4444)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
| |
(cherry picked from commit dd3754a48854cd570d38db72394491aab0f36570)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
If the tile data size does not match the buffer size it did not
return an AVERROR_INVALIDDATA causing futher corruption later.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 7388c0c58601477db076e2e74e8b11f8a644384a)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
And contextually check init_get_bits success and fix the reporting
message.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 6765ee7b9cba46818a45b051438b2552f0a1b70a)
Signed-off-by: Reinhard Tartler <[email protected]>
Conflicts:
libavcodec/mjpegdec.c
|
|
|
|
|
|
|
|
| |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 02ec656af72030eea4f3d63e30b25625cce6a3df)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Must be at least WMAPRO_BLOCK_MIN_SIZE.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit d4a217a408da4bd63acc02cd8f9ebe378a2ad65a)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 6652338f43ef623045912d7f28b61adea05d27ae)
Signed-off-by: Reinhard Tartler <[email protected]>
Conflicts:
libavcodec/wmaprodec.c
|
|
|
|
|
|
|
|
|
|
| |
Prevent yet another buffer overwrite.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 38229362529ed1619d8ebcc81ecde85b23b45895)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Prevent horrid and hard to trace struct overwrite.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit e30b068ef79f604ff439418da07f7e2efd01d4ea)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
| |
(cherry picked from commit afe03092dd693d025d43e1620283d8d285c92772)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Check for out of picture macroblocks before calling mcdc.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 94aefb1932be882fd93f66cf790ceb19ff575c19)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Prevent buffer overread.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 59d7bb99b6a963b7e11c637228b2203adf535eee)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
Signed-off-by: Luca Barbato <[email protected]>
(cherry picked from commit a2f9937bb04b23a341b0ec0eb1d923bbeb420277)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
Signed-off-by: Luca Barbato <[email protected]>
(cherry picked from commit ee205588b250fe5cae0681be8eba51a5403c3272)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
| |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit be373cb50d3c411366fec7eef2eb3681abe48f96)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
| |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit de2e5777e225e75813daf2373c95e223651fd89a)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
| |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 145023f57262d21474e35b4a6069cf95136339d4)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
| |
Make sure the value of wlog2 is always between 0 and 3.
(cherry picked from commit 1f0c6075604c271d5627480f1243d22795f9a315)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Partially mitigate out of memory writes.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit b8b809908ec547b2609dbac24194f4fd2df61aea)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
|
| |
(cherry picked from commit 50ec1db62d977b6e864f315a53c1c580a6d7efa4)
Signed-off-by: Luca Barbato <[email protected]>
Conflicts:
libavcodec/4xm.c
|
|
|
|
|
|
| |
(cherry picked from commit 08859d19b429c522d6494c186656f4a2d3ff8e21)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
At least 2 bytes from the source are read every loop.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 9c2216976907336dfae0e8e38a4d70ca2465a92c)
Signed-off-by: Reinhard Tartler <[email protected]>
Conflicts:
libavcodec/tiff.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Simplify a little, assume empty frames are acceptable and
do not pointlessly reinit the bytestream2 contexts using
possibly wrong size values.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 676da248cad49debc40720baa13214f0b94dcc71)
Signed-off-by: Luca Barbato <[email protected]>
Conflicts:
libavcodec/vmdav.c
|
|
|
|
|
|
|
| |
While at it drop useless parentheses.
(cherry picked from commit 91a6944e56236234f0a7ba162404665753cbcb51)
Signed-off-by: Luca Barbato <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Odd chunk size makes no sense for stereo and incomplete chunks are
not supported.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 701966730ce10290fd49c5ccedd73f505680f764)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
CC: [email protected]
(cherry picked from commit c8f3cb9119c2183680d44a509a1b5a9817a3bee9)
Signed-off-by: Reinhard Tartler <[email protected]>
Conflicts:
libavcodec/vmdav.c
|
|
|
|
|
|
|
|
|
|
| |
Signed-off-by: Anton Khirnov <[email protected]>
(cherry picked from commit 0afcf97e1ece51d29bb791698b00cd1b7ba97dcf)
Signed-off-by: Reinhard Tartler <[email protected]>
Conflicts:
libavcodec/vmdav.c
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Prevent most out of buffer reads.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 3f0b6d7a6248a33df37b98cfcb37a1acce263f62)
Signed-off-by: Reinhard Tartler <[email protected]>
Conflicts:
libavcodec/wavpack.c
|
|
|
|
|
|
|
|
|
|
| |
And forward those that were already meaningful.
(cherry picked from commit 8c34558131d846d2b10389564caadaa206372fd4)
Signed-off-by: Reinhard Tartler <[email protected]>
Conflicts:
libavcodec/wavpack.c
|
|
|
|
|
|
|
|
| |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit fd06291239c1bb616bf303b5696cc432710b2530)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Prevent out of buffer write when decoding broken samples.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit cfbd98abe82cfcb9984a18d08697251b72b110c8)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
They must be non-zero.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 8aa3500905fec6c4e657bb291b861d43c34d3de9)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
|
|
| |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit a030279a67ef883df8cf3707774656fa1be81078)
Signed-off-by: Reinhard Tartler <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit ed50673066956d6f2201a57c3254569f2ab08d9d)
Signed-off-by: Reinhard Tartler <[email protected]>
Conflicts:
libavcodec/wavpack.c
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Prevent an out of array bound write.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit abad374909e6416e941351094f4f1446a71f8d23)
Signed-off-by: Reinhard Tartler <[email protected]>
Conflicts:
libavcodec/jpeglsdec.c
|