avcodec/avpacket: Fix off by 5 error
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 20 Apr 2016 20:38:26 +0000 (22:38 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 27 Apr 2016 02:40:12 +0000 (04:40 +0200)
commit5127cb2e78c08bddb3f7e6f63e4c960bab465eb9
tree95b0bb7b53b00f1fab9ef81dffefc2f4da9f94f3
parent70b3e170f97f4c897f12cdcdaa226d910ea88bb7
avcodec/avpacket: Fix off by 5 error

Fixes out of array read
Fixes: mozilla bug 1266129
Found-by: Tyson Smith
Tested-by: Tyson Smith
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 9f36ea57ae6eefb42432220feab0350494f4144c)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/avpacket.c