mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
mpegvideoparse: fix compiler warnings
This commit is contained in:
parent
404c18ab18
commit
6e9873038b
1 changed files with 2 additions and 3 deletions
|
@ -236,13 +236,12 @@ gst_mpegv_parse_process_config (GstMpegvParse * mpvparse, GstBuffer * buf,
|
||||||
if (!gst_mpeg_video_parse_sequence_header (&mpvparse->sequencehdr, data,
|
if (!gst_mpeg_video_parse_sequence_header (&mpvparse->sequencehdr, data,
|
||||||
GST_BUFFER_SIZE (buf) - mpvparse->seq_offset, 0)) {
|
GST_BUFFER_SIZE (buf) - mpvparse->seq_offset, 0)) {
|
||||||
GST_DEBUG_OBJECT (mpvparse,
|
GST_DEBUG_OBJECT (mpvparse,
|
||||||
"failed to parse config data (size %" G_GSSIZE_FORMAT ") at offset %d",
|
"failed to parse config data (size %d) at offset %d",
|
||||||
size, mpvparse->seq_offset);
|
size, mpvparse->seq_offset);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_LOG_OBJECT (mpvparse, "accepting parsed config size %" G_GSSIZE_FORMAT,
|
GST_LOG_OBJECT (mpvparse, "accepting parsed config size %d", size);
|
||||||
size);
|
|
||||||
|
|
||||||
/* Set mpeg version, and parse sequence extension */
|
/* Set mpeg version, and parse sequence extension */
|
||||||
if (mpvparse->mpeg_version <= 0) {
|
if (mpvparse->mpeg_version <= 0) {
|
||||||
|
|
Loading…
Reference in a new issue