aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/tls.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-11 02:28:16 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-11 16:44:11 +0200
commit7ad4928580dc570af156094160dc4c640d31a288 (patch)
tree910545372e60412381bc520580b620fb8843be4c /libavformat/tls.c
parent4b7189848f4417d4753ddf0b873142d9c27b293e (diff)
downloadffmpeg-7ad4928580dc570af156094160dc4c640d31a288.tar.gz
avformat/ty: Remove write-only array and variable
Up until now, the TiVo demuxer parse an array of SEQ entries, yet it has never ever made any use of them. In fact, parse_master, the function parsing said table, only influenced the outside world in three ways: Via an excessive amount of error message in case a certain parameter is not what it expected; via an allocation (the aforementioned write-only array); and by setting a certain parameter (ty->cur_chunk_pos), but that parameter is always overwritten before it is used (it is overwritten in get_chunk() on success and if get_chunk() fails, the error is returned to the caller anyway). So remove the array and the function used to parse it. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/tls.c')
0 files changed, 0 insertions, 0 deletions