Skip to content
Snippets Groups Projects
Commit 41381041 authored by Wim Taymans's avatar Wim Taymans
Browse files

Changed the bytes_written to a gint to avoid overflow...

Original commit message from CVS:
Changed the bytes_written to a gint to avoid overflow...
parent 1a06cd47
No related branches found
No related tags found
No related merge requests found
...@@ -218,7 +218,7 @@ static void ...@@ -218,7 +218,7 @@ static void
gst_disksink_chain (GstPad *pad, GstBuffer *buf) gst_disksink_chain (GstPad *pad, GstBuffer *buf)
{ {
GstDiskSink *disksink; GstDiskSink *disksink;
guint16 bytes_written = 0; gint bytes_written = 0;
g_return_if_fail (pad != NULL); g_return_if_fail (pad != NULL);
g_return_if_fail (GST_IS_PAD (pad)); g_return_if_fail (GST_IS_PAD (pad));
......
...@@ -218,7 +218,7 @@ static void ...@@ -218,7 +218,7 @@ static void
gst_disksink_chain (GstPad *pad, GstBuffer *buf) gst_disksink_chain (GstPad *pad, GstBuffer *buf)
{ {
GstDiskSink *disksink; GstDiskSink *disksink;
guint16 bytes_written = 0; gint bytes_written = 0;
g_return_if_fail (pad != NULL); g_return_if_fail (pad != NULL);
g_return_if_fail (GST_IS_PAD (pad)); g_return_if_fail (GST_IS_PAD (pad));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment