diff options
author | Andreas Rheinhardt <[email protected]> | 2021-03-17 16:49:44 +0100 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2022-08-23 12:21:00 +0200 |
commit | 72cfc80d7b500a7f66b1bb7373f67f549c1774c6 (patch) | |
tree | 377fcc1749a865b93a2ecc58f880d69a8c2a7276 /tools/python | |
parent | eda3abd1eca651680b82857ed39d920b20b3b4b1 (diff) |
avcodec/pngdec: Improve decoding text chunks
By checking immediately whether the first allocation was successfull
one can simplify the cleanup code in case of errors.
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'tools/python')
0 files changed, 0 insertions, 0 deletions