From: Tim-Philipp Müller Date: Sat, 4 Aug 2012 18:33:32 +0000 (+0100) Subject: riff: fix build on big endian systems X-Git-Tag: RELEASE-0.11.93~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=07158ff1f262e9a0b545e3584492d2cc51ed6b15;p=platform%2Fupstream%2Fgst-plugins-base.git riff: fix build on big endian systems --- diff --git a/gst-libs/gst/riff/riff-read.c b/gst-libs/gst/riff/riff-read.c index eb88016..8b96e6e 100644 --- a/gst-libs/gst/riff/riff-read.c +++ b/gst-libs/gst/riff/riff-read.c @@ -490,7 +490,7 @@ gst_riff_parse_strf_auds (GstElement * element, strf->rate = GUINT32_FROM_LE (strf->rate); strf->av_bps = GUINT32_FROM_LE (strf->av_bps); strf->blockalign = GUINT16_FROM_LE (strf->blockalign); - strf->size = GUINT16_FROM_LE (strf->size); + strf->bits_per_sample = GUINT16_FROM_LE (strf->bits_per_sample); #endif /* size checking */