vorbisenc: Check the return value of av_frame_clone
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Fri, 24 Nov 2017 19:24:41 +0000 (19:24 +0000)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Sun, 26 Nov 2017 17:26:59 +0000 (17:26 +0000)
commite7af1394ecd0e7c237db34ee9c149afff37641dd
treeb9e3977cccd81458bd6f74d633aa0e59c41e4f63
parent37c57df18e7c46436fa791abf40f4c3031ab56f4
vorbisenc: Check the return value of av_frame_clone

Prevents a segfault when alloc fails.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/vorbisenc.c