fix format string in pngdec
* ext/libpng/gstpngdec.c: Fix size_t vs unsigned int format in error message.
This commit is contained in:
parent
07dcbacd60
commit
034a4a771e
@ -344,7 +344,7 @@ short_buffer:
|
|||||||
gst_buffer_unref (buffer);
|
gst_buffer_unref (buffer);
|
||||||
GST_ELEMENT_ERROR (pngdec, STREAM, FAILED,
|
GST_ELEMENT_ERROR (pngdec, STREAM, FAILED,
|
||||||
(_("Internal data stream error.")),
|
(_("Internal data stream error.")),
|
||||||
("Read %u, needed %u bytes", size, length));
|
("Read %u, needed %" G_GSIZE_FORMAT "bytes", size, length));
|
||||||
ret = GST_FLOW_ERROR;
|
ret = GST_FLOW_ERROR;
|
||||||
goto pause;
|
goto pause;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user