movtextenc: fix pointer messup and out of array accesses
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 5 Feb 2013 20:54:02 +0000 (21:54 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 5 Feb 2013 23:16:04 +0000 (00:16 +0100)
commit0c2a350762c398051797638a42ea07ce4baac80d
treeca534879aae537b21383ae829599d4f4aefe37f1
parent299dc3baeaafa87389002acc5d6a9896fa0159be
movtextenc: fix pointer messup and out of array accesses

Fixes Ticket2213

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit b0635e2fcf80717dd618ef75d3317d62ed85c300)
libavcodec/movtextenc.c