Commit 36518695 authored by Alessandro Decina's avatar Alessandro Decina Committed by Sebastian Dröge
Browse files

gst/avi/gstavidemux.c: Fix build of avidemux on big endian architectures.

Original commit message from CVS:
Patch by: Alessandro Decina <alessandro at nnva dot org>
* gst/avi/gstavidemux.c: (gst_avi_demux_riff_parse_vprp):
Fix build of avidemux on big endian architectures.
parent a0bc9e69
2008-07-14 Sebastian Dröge <sebastian.droege@collabora.co.uk>
Patch by: Alessandro Decina <alessandro at nnva dot org>
* gst/avi/gstavidemux.c: (gst_avi_demux_riff_parse_vprp):
Fix build of avidemux on big endian architectures.
2008-07-10 Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Patch by: Thiago Sousa Santos <thiagoss at lcc dot ufcg dot edu dot br>
......
common @ a100efef
Subproject commit 79ade7b9c9bf47eee491ceee4cf3ea116140ad35
Subproject commit a100efef186a5f8999fe3aa42c0720f5123c08eb
......@@ -1254,7 +1254,7 @@ gst_avi_demux_riff_parse_vprp (GstElement * element,
for (k = 0; k < vprp->fields; k++) {
gst_riff_vprp_video_field_desc *fd;
fd = &(vidpad->vprp.field_info[k]);
fd = &vprp->field_info[k];
fd->compressed_bm_height = GUINT32_FROM_LE (fd->compressed_bm_height);
fd->compressed_bm_width = GUINT32_FROM_LE (fd->compressed_bm_width);
fd->valid_bm_height = GUINT32_FROM_LE (fd->valid_bm_height);
......@@ -1811,8 +1811,8 @@ gst_avi_demux_parse_index (GstAviDemux * avi,
target->index_nr = i;
target->flags =
(entry.
flags & GST_RIFF_IF_KEYFRAME) ? GST_AVI_INDEX_ENTRY_FLAG_KEYFRAME : 0;
(entry.flags & GST_RIFF_IF_KEYFRAME) ? GST_AVI_INDEX_ENTRY_FLAG_KEYFRAME
: 0;
target->size = entry.size;
target->offset = entry.offset + 8;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment