summaryrefslogtreecommitdiffstats
path: root/tests/api/api-seek-test.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2019-12-03 18:09:03 +0100
committerJames Almer <[email protected]>2019-12-04 23:11:37 -0300
commitf7bf59b431e0921d5f318154f64c78bb226e33b9 (patch)
treed8206c7291fea5b43ace22b2436e895f260af75b /tests/api/api-seek-test.c
parent94fd85d81d5084f22a159e5694b7a5cde1c8f489 (diff)
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 <[email protected]> Signed-off-by: James Almer <[email protected]>
Diffstat (limited to 'tests/api/api-seek-test.c')
0 files changed, 0 insertions, 0 deletions