roqaudioenc: use AVCodec.encode2()
authorJustin Ruggles <justin.ruggles@gmail.com>
Tue, 28 Feb 2012 01:53:09 +0000 (20:53 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Wed, 21 Mar 2012 16:49:35 +0000 (12:49 -0400)
commit32173df3d226cffd6413d57aa7e8630a6f12b871
treefceae612dea30486ff2d7f51a6dba4d738f9f764
parentb03dcf07f6f10af73ecb887368a50c1571eed0f9
roqaudioenc: use AVCodec.encode2()

The first frame pts must be saved until we have 8 frames since RoQ audio
requires 8 frames in the first packet.
libavcodec/roqaudioenc.c