avcodec/ccaption_dec: do not modify packet data in case of parity error
authorPaul B Mahol <onemda@gmail.com>
Fri, 19 Jun 2020 14:23:53 +0000 (16:23 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 20 Jun 2020 13:07:26 +0000 (15:07 +0200)
commitbd1b78e91ac1e6b9c603c032fc633f85f31abe71
treeee682f5af8160da1e0c174f0a02550a30000a2ba
parentbbd0be04d09b9d49440ca7d69774aa4483de6022
avcodec/ccaption_dec: do not modify packet data in case of parity error

To dissallow similar errors in future, make pointers const.
libavcodec/ccaption_dec.c