summaryrefslogtreecommitdiffstats
path: root/gst/mpegdemux/gstmpegtsdemux.c
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerabbas@merali.org>2008-11-06 10:42:59 +0000
committerZaheer Abbas Merali <zaheerabbas@merali.org>2008-11-06 10:42:59 +0000
commit32a383f8b4de5e4a88f0e09d6fa816b8bb532c4d (patch)
tree5d220f451f405cf22f57706e2a2a36ff9e8a9654 /gst/mpegdemux/gstmpegtsdemux.c
parentfd52cc22e7a3e3dd116aaf0bf9bc8dd7361000cc (diff)
downloadgst-plugins-bad-32a383f8b4de5e4a88f0e09d6fa816b8bb532c4d.tar.gz
gst-plugins-bad-32a383f8b4de5e4a88f0e09d6fa816b8bb532c4d.tar.bz2
gst-plugins-bad-32a383f8b4de5e4a88f0e09d6fa816b8bb532c4d.zip
gst/mpegdemux/gstmpegtsdemux.*: Fix typo.
Original commit message from CVS: * gst/mpegdemux/gstmpegtsdemux.c: * gst/mpegdemux/gstmpegtsdemux.h: Fix typo.
Diffstat (limited to 'gst/mpegdemux/gstmpegtsdemux.c')
-rw-r--r--gst/mpegdemux/gstmpegtsdemux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/mpegdemux/gstmpegtsdemux.c b/gst/mpegdemux/gstmpegtsdemux.c
index c00d3b63..da593b99 100644
--- a/gst/mpegdemux/gstmpegtsdemux.c
+++ b/gst/mpegdemux/gstmpegtsdemux.c
@@ -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;