]> git.sesse.net Git - ffmpeg/commit
avcodec/mediacodecdec_common: ensure current input buffer is always used correctly
authorAman Gupta <aman@tmm1.net>
Thu, 5 Sep 2019 18:20:40 +0000 (11:20 -0700)
committerAman Gupta <aman@tmm1.net>
Mon, 9 Sep 2019 20:25:06 +0000 (13:25 -0700)
commitca613dcc387ed2ad8c7f12e8e8f972a7c57daec8
tree771fc68d503b58dc39c6bc364a529588de66bf4a
parentf821d1953151ea7b7f1e1eb96ac72529477b021a
avcodec/mediacodecdec_common: ensure current input buffer is always used correctly

The loop may mutate the input buffer, so re-fetch it to ensure
the current one is always used.

Signed-off-by: Aman Gupta <aman@tmm1.net>
Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
libavcodec/mediacodecdec_common.c