diff options
author | Lukasz Marek <[email protected]> | 2014-04-04 19:28:45 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2014-04-10 04:53:00 +0200 |
commit | fc8eb4c1f9847b0a465bab5cfbcc8069e9e6b308 (patch) | |
tree | 5c74a8efba2e5aabc58f38aade0eeb9d51b3431a /libavformat/nutdec.c | |
parent | 02bae9f013e73f960e9283b79d9ebf4bc81969c6 (diff) |
lavu/opt: validate range before dereference
This change make error handling simplier.
av_opt_freep_ranges may be called when some ranges are NULL,
for example after memory allocation fail.
Signed-off-by: Lukasz Marek <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit 3aac5fcfa9d3748659d78ab2a66d0ccce22cfd4f)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavformat/nutdec.c')
0 files changed, 0 insertions, 0 deletions