mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
ext/theora/theoradec.c (theora_handle_data_packet): This value is often negative -- make it signed so as not to wrap ...
Original commit message from CVS: 2006-04-04 Andy Wingo <wingo@pobox.com> * ext/theora/theoradec.c (theora_handle_data_packet): This value is often negative -- make it signed so as not to wrap around. Fixes segfaults introduced on 9 March.
This commit is contained in:
parent
157a5acfed
commit
76d5f5e214
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-04-04 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* ext/theora/theoradec.c (theora_handle_data_packet): This value
|
||||
is often negative -- make it signed so as not to wrap around.
|
||||
Fixes segfaults introduced on 9 March.
|
||||
|
||||
2006-04-03 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* ext/theora/gsttheoradec.h:
|
||||
|
|
|
@ -969,7 +969,7 @@ theora_handle_data_packet (GstTheoraDec * dec, ogg_packet * packet,
|
|||
guchar *dest_y, *src_y;
|
||||
guchar *dest_u, *src_u;
|
||||
guchar *dest_v, *src_v;
|
||||
guint offset;
|
||||
gint offset;
|
||||
|
||||
dest_y = GST_BUFFER_DATA (out);
|
||||
dest_u = dest_y + stride_y * height;
|
||||
|
|
Loading…
Reference in a new issue