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, 20 Apr 2016 22:52:40 +0000 (00:52 +0200)
commit9f36ea57ae6eefb42432220feab0350494f4144c
tree10c581745491c611588430213295d71a732af3cc
parent38797a8033d061ade58b30b8ac86da222fe42a84
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>
libavcodec/avpacket.c