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>
Thu, 28 Apr 2016 01:47:13 +0000 (03:47 +0200)
commitcff516d9e841388c3cf805dd179f7305b84050f3
tree84829224af0aea1992437c0e8f6e80b6297cc940
parent0696a555b6a516ce569bb2320b512dc790e747b4
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)

Conflicts:

libavcodec/avpacket.c
libavcodec/avpacket.c