avformat/ty: check cur_chunk_pos before using it
authorPaul B Mahol <onemda@gmail.com>
Sun, 12 Nov 2017 21:57:06 +0000 (22:57 +0100)
committerPaul B Mahol <onemda@gmail.com>
Sun, 12 Nov 2017 21:58:15 +0000 (22:58 +0100)
commitf38d0d0c22c1871ef0728a718c5e00a6ba93bfa1
tree5d8758f7d3cce86622df78a048d48b6617888dad
parenta38b14a432b3a031d6bafdbb5f790724b9b2094d
avformat/ty: check cur_chunk_pos before using it

Fixes #6831.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavformat/ty.c