avformat/mpegenc: Check for av_mallocz() failure
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 21 Dec 2016 22:41:49 +0000 (23:41 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 21 Dec 2016 22:41:49 +0000 (23:41 +0100)
commit9b9e4a71c57261b6b690d9649b8e7a347df6a78b
tree485a7e4399289fd7fbceda48451be2117999eb0e
parentfd1fcb59dcdb0b1644097a69d0c64084bdc26052
avformat/mpegenc: Check for av_mallocz() failure

Fixes CID1257787

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mpegenc.c