roqaudioenc: use AVCodecContext.frame_size correctly.
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 22 Feb 2012 21:20:49 +0000 (16:20 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sat, 25 Feb 2012 16:49:43 +0000 (11:49 -0500)
commitcf57c78b774a71e8379d73e892880a2df1bf93ad
tree3353d400f54b823230ed2a4670d0a60fee1d5b30
parent56279f1d6155a7af52526b9852ee28831d0232a6
roqaudioenc: use AVCodecContext.frame_size correctly.

It is not allowed to change mid-stream like it does currently. Instead we need
to buffer the first 8 frames before returning them as a single packet, then
only return single frame packets after that.
libavcodec/roqaudioenc.c