OSDN Git Service

avidec: simplify read_gab2_sub
authorAnton Khirnov <anton@khirnov.net>
Sun, 6 Feb 2011 09:59:54 +0000 (10:59 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 9 Feb 2011 02:31:17 +0000 (03:31 +0100)
commitf8d33a36170a2495a8e06e040317b144a770540c
tree3697a8edcb17678b9cf954eb833e820e0d52cbf0
parentf81946729e21005fe8d6a63a938e48c09b9b14b4
avidec: simplify read_gab2_sub

Use avio functions instead of bytestream ones (also drops dependency on
lavc and removes a bunch of warnings).
Drop custom version of avio_get_str16 and use that instead.

Tested on mewmew-ssa.avi sample.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 47fdf00a77e82a0e30422ed08d5b295e9ae8d506)
libavformat/avidec.c