mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
theoraenc: fix variable type for bytes_consumed
th_encode_ctl() returns an int. Using a gsize result in bogus <0 checks.
This commit is contained in:
parent
a11f6d4a73
commit
af29082e94
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue