avcodec/mpeg12dec: ensure a53_caption_size is reset on malloc failures
authorAman Gupta <aman@tmm1.net>
Wed, 15 Mar 2017 19:53:04 +0000 (12:53 -0700)
committerAman Gupta <aman@tmm1.net>
Thu, 16 Nov 2017 02:14:40 +0000 (18:14 -0800)
commitff8f40a63092b184d7fe4416660adbba8d90849d
tree37d66dd5904fd486082dc73503b6eea6487a4e14
parent3f1a540204a8c187f77b3805d2e1c97fa916a12b
avcodec/mpeg12dec: ensure a53_caption_size is reset on malloc failures

Signed-off-by: Aman Gupta <aman@tmm1.net>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpeg12dec.c