diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-12-03 18:09:03 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-12-04 23:11:37 -0300 |
commit | f7bf59b431e0921d5f318154f64c78bb226e33b9 (patch) | |
tree | d8206c7291fea5b43ace22b2436e895f260af75b /libavcodec/v308dec.c | |
parent | 94fd85d81d5084f22a159e5694b7a5cde1c8f489 (diff) | |
download | ffmpeg-f7bf59b431e0921d5f318154f64c78bb226e33b9.tar.gz |
avformat/matroskadec: Check before allocations
That way one doesn't have to free later. In this case (concerning TTA
extradata), this also fixes a memleak when the output samplerate is
invalid.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/v308dec.c')
0 files changed, 0 insertions, 0 deletions