mpeg4videoparse: fix compiler warnings

This commit is contained in:
Alessandro Decina 2011-05-29 13:03:38 +02:00
parent c07424ea4e
commit f4ec523b0a
2 changed files with 8 additions and 4 deletions

View file

@ -231,11 +231,13 @@ gst_mpeg4vparse_process_config (GstMpeg4VParse * mp4vparse, const guint8 * data,
return TRUE; return TRUE;
if (!gst_mpeg4_params_parse_config (&mp4vparse->params, data, size)) { if (!gst_mpeg4_params_parse_config (&mp4vparse->params, data, size)) {
GST_DEBUG_OBJECT (mp4vparse, "failed to parse config data (size %d)", size); GST_DEBUG_OBJECT (mp4vparse, "failed to parse config data (size %"
G_GSSIZE_FORMAT ")", size);
return FALSE; return FALSE;
} }
GST_LOG_OBJECT (mp4vparse, "accepting parsed config size %d", size); GST_LOG_OBJECT (mp4vparse, "accepting parsed config size %" G_GSSIZE_FORMAT,
size);
/* parsing ok, so accept it as new config */ /* parsing ok, so accept it as new config */
if (mp4vparse->config != NULL) if (mp4vparse->config != NULL)

View file

@ -226,11 +226,13 @@ gst_mpegv_parse_process_config (GstMpegvParse * mpvparse, const guint8 * data,
return TRUE; return TRUE;
if (!gst_mpeg_video_params_parse_config (&mpvparse->params, data, size)) { if (!gst_mpeg_video_params_parse_config (&mpvparse->params, data, size)) {
GST_DEBUG_OBJECT (mpvparse, "failed to parse config data (size %d)", size); GST_DEBUG_OBJECT (mpvparse, "failed to parse config data (size %"
G_GSSIZE_FORMAT ")", size);
return FALSE; return FALSE;
} }
GST_LOG_OBJECT (mpvparse, "accepting parsed config size %d", size); GST_LOG_OBJECT (mpvparse, "accepting parsed config size %" G_GSSIZE_FORMAT,
size);
/* parsing ok, so accept it as new config */ /* parsing ok, so accept it as new config */
if (mpvparse->config != NULL) if (mpvparse->config != NULL)