mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-16 20:36:06 +00:00
ext/ffmpeg/gstffmpegcodecmap.c: Fix SVQ3 decoding on PPC
Original commit message from CVS: 2004-01-26 Jeremy Simon <jesimon@libertysurf.fr> * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_extradata): Fix SVQ3 decoding on PPC
This commit is contained in:
parent
2a56f1cec9
commit
f1c371a3d3
1 changed files with 3 additions and 0 deletions
|
@ -703,6 +703,9 @@ gst_ffmpeg_caps_to_extradata (const GstCaps *caps,
|
|||
flags |= thirdpel_flag;
|
||||
flags = flags << 3;
|
||||
|
||||
if (G_BYTE_ORDER == G_BIG_ENDIAN)
|
||||
flags = (flags << 8) | (8 >> flags);
|
||||
|
||||
memcpy (context->extradata + 0x62, &flags, 2);
|
||||
context->extradata_size = 0x64;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue