smacker: Check malloc return values
authorMartin Storsjö <martin@martin.st>
Wed, 11 Sep 2013 12:35:19 +0000 (15:35 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 11 Sep 2013 17:20:28 +0000 (20:20 +0300)
commitd002fce24a7206e95f9492031f45adc35711e183
tree41734f12ad01d0c35a28399d5794005086ae0ccb
parent710b0e27025948b7511821c2f888ff2d74a59e14
smacker: Check malloc return values

Also try to free local allocations on errors.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/smacker.c