aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegts.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-20 17:22:56 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-20 17:22:56 +0000
commitade8d8b939ccdb3d0c02fed59bdce2f355daa177 (patch)
treed27ef632a7cb7c94c81c5aaa76c39cb5e17ebf05 /libavformat/mpegts.c
parentccafd47251a83cab01dcde42dc09db425c80e69a (diff)
downloadffmpeg-ade8d8b939ccdb3d0c02fed59bdce2f355daa177.tar.gz
uniformize AVStream->priv_data freeing in av_close_input_stream
Originally committed as revision 13838 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index da75ff1625..6f36e0ace1 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -334,8 +334,6 @@ static void mpegts_close_filter(MpegTSContext *ts, MpegTSFilter *filter)
pid = filter->pid;
if (filter->type == MPEGTS_SECTION)
av_freep(&filter->u.section_filter.section_buf);
- else if (filter->type == MPEGTS_PES)
- av_freep(&filter->u.pes_filter.opaque);
av_free(filter);
ts->pids[pid] = NULL;