roqaudio: Always use the frame buffer on flush
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 12 Nov 2014 10:13:10 +0000 (11:13 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 24 Nov 2014 01:30:15 +0000 (01:30 +0000)
commit55b59fab880a9fcdd30f97c5170af282087ac4f7
tree9486b62bc723e39e9faa4f51fff0f2f752eeec57
parent0562887a984388fdc7a9b71c9374ff9c756fb4f1
roqaudio: Always use the frame buffer on flush

Prevent NULL dereference.

CC: libav-stable@libav.org
Bug-Id: CID 703669
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/roqaudioenc.c