Commit af29082e authored by Stefan Kost's avatar Stefan Kost
Browse files

theoraenc: fix variable type for bytes_consumed

th_encode_ctl() returns an int. Using a gsize result in bogus <0 checks.
parent a11f6d4a
......@@ -1008,7 +1008,8 @@ theora_enc_read_multipass_cache (GstTheoraEnc * enc)
{
GstBuffer *cache_buf;
const guint8 *cache_data;
gsize bytes_read = 0, bytes_consumed = 0;
gsize bytes_read = 0;
gint bytes_consumed = 0;
GIOStatus stat = G_IO_STATUS_NORMAL;
gboolean done = FALSE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment