gst/mpegdemux/gstmpegtsdemux.*: Fix typo.

Original commit message from CVS:
* gst/mpegdemux/gstmpegtsdemux.c:
* gst/mpegdemux/gstmpegtsdemux.h:
Fix typo.
This commit is contained in:
Zaheer Abbas Merali 2008-11-06 10:42:59 +00:00
parent fd52cc22e7
commit 32a383f8b4
3 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2008-11-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* gst/mpegdemux/gstmpegtsdemux.c:
* gst/mpegdemux/gstmpegtsdemux.h:
Fix typo.
2008-11-06 Thijs Vermeir <thijsvermeir@gmail.com>
* gst/librfb/gstrfbsrc.c:

View file

@ -2493,7 +2493,7 @@ gst_fluts_demux_sync_scan (GstFluTSDemux * demux, const guint8 * in_data,
const guint8 *end_scan = in_data + size - demux->packetsize;
guint8 *ptr_data = (guint8 *) in_data;
while (ptr_data <= end_scan && sync_count < LENGHT_SYNC_LUT) {
while (ptr_data <= end_scan && sync_count < LENGTH_SYNC_LUT) {
/* if sync code is found try to store it in the LUT */
guint chance = is_mpegts_sync (ptr_data, end_scan, demux->packetsize);
if (G_LIKELY (chance > 50)) {
@ -2583,7 +2583,7 @@ gst_fluts_demux_change_state (GstElement * element, GstStateChange transition)
switch (transition) {
case GST_STATE_CHANGE_NULL_TO_READY:
demux->adapter = gst_adapter_new ();
demux->sync_lut = g_new0 (guint8 *, LENGHT_SYNC_LUT);
demux->sync_lut = g_new0 (guint8 *, LENGTH_SYNC_LUT);
break;
case GST_STATE_CHANGE_READY_TO_PAUSED:
break;

View file

@ -64,7 +64,7 @@ G_BEGIN_DECLS
#define FLUTS_NORMAL_TS_PACKETSIZE 188
#define FLUTS_M2TS_TS_PACKETSIZE 192
#define LENGHT_SYNC_LUT 256
#define LENGTH_SYNC_LUT 256
#define IS_MPEGTS_SYNC(data) (((data)[0] == 0x47) && \
(((data)[1] & 0x80) == 0x00) && \