[SCM] libav/experimental: remove no longer needed init
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:46:51 UTC 2013
The following commit has been merged in the experimental branch:
commit ed68efad8b198cf36e1293424cdc57fc9602ee86
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date: Sun May 31 03:44:03 2009 +0000
remove no longer needed init
Originally committed as revision 19008 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 5d25671..34983d9 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -577,10 +577,10 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
const uint8_t *p, *p_end, *desc_list_end, *desc_end;
int program_info_length, pcr_pid, pid, stream_type;
int desc_list_len, desc_len, desc_tag;
- int comp_page = 0, anc_page = 0; /* initialize to kill warnings */
- char language[4] = {0}; /* initialize to kill warnings */
+ int comp_page, anc_page;
+ char language[4];
uint32_t prog_reg_desc = 0; /* registration descriptor */
- uint32_t reg_desc = 0; /* registration descriptor */
+ uint32_t reg_desc; /* registration descriptor */
#ifdef DEBUG
dprintf(ts->stream, "PMT: len %i\n", section_len);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list