After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 536042 - mpeg4videoparse broken on big endian architectures
mpeg4videoparse broken on big endian architectures
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-01 11:31 UTC by Sjoerd Simons
Modified: 2008-06-02 07:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix for big endian archs (1.02 KB, patch)
2008-06-01 11:32 UTC, Sjoerd Simons
committed Details | Review

Description Sjoerd Simons 2008-06-01 11:31:10 UTC
because of the way GET_BITS works values are always retrieved in big-endian order  (which is actually what mpeg4 uses) and saved in the architectures native order. So GUINT32_FROM_LE actually breaks things. Will attach a patch
Comment 1 Sjoerd Simons 2008-06-01 11:32:33 UTC
Created attachment 111880 [details] [review]
fix for big endian archs
Comment 2 Sebastian Dröge (slomo) 2008-06-02 07:37:11 UTC
2008-06-02  Sebastian Dröge  <slomo@circular-chaos.org>

	Patch by: Sjoerd Simons <sjoerd at luon dot net>

	* gst/mpeg4videoparse/mpeg4videoparse.c:
	(gst_mpeg4vparse_handle_vos):
	Fix mpeg4videoparse on big endian architectures. Fixes bug #536042.