aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/bfin
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-12-03 18:09:03 +0100
committerJames Almer <jamrial@gmail.com>2019-12-04 23:11:37 -0300
commitf7bf59b431e0921d5f318154f64c78bb226e33b9 (patch)
treed8206c7291fea5b43ace22b2436e895f260af75b /libavcodec/bfin
parent94fd85d81d5084f22a159e5694b7a5cde1c8f489 (diff)
downloadffmpeg-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/bfin')
0 files changed, 0 insertions, 0 deletions