avformat/pjsdec: dont increase pointer when its already at the end in read_ts()
authorClément Bœsch <u@pkh.me>
Fri, 10 Jan 2014 00:51:22 +0000 (01:51 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Jan 2014 01:28:17 +0000 (02:28 +0100)
commitb84a7330af41cec93384bf59ed68c67b09d105cd
tree5f29a0138eaccccaefb1e58f1588fd42cf7a551e
parent6b18a6839b43ea78e70cd3e35f781d1c955bda73
avformat/pjsdec: dont increase pointer when its already at the end in read_ts()

Fixes use of uninitialized memory
Fixes: msan_uninit-mem_7f91f2de7764_2649_PJS_capability_tester.pjs
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/pjsdec.c