[FFmpeg-cvslog] mpegts: Avoid unnecessary variable shadowing
Diego Biurrun
git at videolan.org
Thu Aug 7 22:06:39 CEST 2014
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Aug 6 03:28:06 2014 -0700| [f8ab9f2fe3730a0e8c3c1eb7c486f7c0041fb3fc] | committer: Diego Biurrun
mpegts: Avoid unnecessary variable shadowing
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f8ab9f2fe3730a0e8c3c1eb7c486f7c0041fb3fc
---
libavformat/mpegtsenc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index c488989..cbd3aab 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -635,7 +635,6 @@ static int mpegts_write_header(AVFormatContext *s)
fail:
av_free(pids);
for (i = 0; i < s->nb_streams; i++) {
- MpegTSWriteStream *ts_st;
st = s->streams[i];
ts_st = st->priv_data;
if (ts_st) {
More information about the ffmpeg-cvslog
mailing list