rmdec: use the deinterleaving mode and not the codec when creating audio packets.
authorLaurent Aimar <fenrir@videolan.org>
Sat, 17 Sep 2011 21:17:45 +0000 (21:17 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Sep 2011 18:56:53 +0000 (20:56 +0200)
commit27128d82faf17cbf476cf5f750722612639bdcd7
treee7af02bb107d2767e684179b93ba80035ced5171
parented288c0edd3a77537adbeb34c081363ea73e9c14
rmdec: use the deinterleaving mode and not the codec when creating audio packets.

It prevents crashes due to non initialized fields.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit 3e033da84782e12ed529e6a88dd53b6a72199e8e)
libavformat/rmdec.c