diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-18 21:42:26 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-24 00:26:18 +0100 |
commit | 79a90b42caa6c4fb325f53bc042bf7f8be232f00 (patch) | |
tree | e7a0597cac06b60eab3e311c3feabaa94b7e0d8d /libavformat/ipmovie.c | |
parent | 2ef4c5bba4a2519949df9f75170de516e927281e (diff) | |
download | ffmpeg-79a90b42caa6c4fb325f53bc042bf7f8be232f00.tar.gz |
avformat/ipmovie: Remove redundant initializations
The demuxer's context has already been zeroed generically.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/ipmovie.c')
-rw-r--r-- | libavformat/ipmovie.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavformat/ipmovie.c b/libavformat/ipmovie.c index a71575235f..048e748cfd 100644 --- a/libavformat/ipmovie.c +++ b/libavformat/ipmovie.c @@ -623,13 +623,6 @@ static int ipmovie_read_header(AVFormatContext *s) if (avio_feof(pb)) return AVERROR_EOF; } - /* initialize private context members */ - ipmovie->video_pts = ipmovie->audio_frame_count = 0; - ipmovie->audio_chunk_offset = ipmovie->video_chunk_offset = - ipmovie->decode_map_chunk_offset = ipmovie->skip_map_chunk_offset = 0; - ipmovie->decode_map_chunk_size = ipmovie->video_chunk_size = - ipmovie->skip_map_chunk_size = 0; - ipmovie->send_buffer = ipmovie->frame_format = 0; /* on the first read, this will position the stream at the first chunk */ ipmovie->next_chunk_offset = avio_tell(pb) + 4; |