diff options
author | David Schleef <ds@schleef.org> | 2002-10-10 22:14:54 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2002-10-10 22:14:54 +0000 |
commit | a06f00ebb1af8ac9fd6bc4a4414d64c7c45026ad (patch) | |
tree | a1e3473fdcde52842867b11501ed0350617f0c06 /gst/avi/gstavidemux.c | |
parent | bc93903d019bd83f382c2d4b93f1e08d761405a7 (diff) |
fix for big endian machines. Chunk ID conversion was being swabbed twice.
Original commit message from CVS:
fix for big endian machines. Chunk ID conversion was being swabbed
twice.
Diffstat (limited to 'gst/avi/gstavidemux.c')
-rw-r--r-- | gst/avi/gstavidemux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index 6b2a8ffb..e8af4215 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -1316,8 +1316,8 @@ gst_avi_demux_process_chunk (GstAviDemux *avi_demux, guint64 *filepos, stream = &avi_demux->stream[stream_id]; - GST_DEBUG (0,"gst_avi_demux_chain: tag found %08x size %08x", - chunkid, *chunksize); + GST_DEBUG (0,"gst_avi_demux_chain: tag found %08x size %08x stream_id %d", + chunkid, *chunksize, stream_id); format = GST_FORMAT_TIME; gst_pad_query (stream->pad, GST_PAD_QUERY_POSITION, &format, &next_ts); @@ -1332,7 +1332,7 @@ gst_avi_demux_process_chunk (GstAviDemux *avi_demux, guint64 *filepos, stream->skip--; } else { - if (GST_PAD_IS_CONNECTED (stream->pad)) { + if (stream->pad && GST_PAD_IS_CONNECTED (stream->pad)) { GstBuffer *buf; guint32 got_bytes; |