qtmux: free date tag

This commit is contained in:
Mark Nauwelaerts 2011-06-29 12:05:04 +02:00
parent 1912c86946
commit cc526d2e52

View file

@ -613,6 +613,8 @@ gst_qt_mux_add_mp4_date (GstQTMux * qtmux, const GstTagList * list,
month = g_date_get_month (date);
day = g_date_get_day (date);
g_date_free (date);
if (year == G_DATE_BAD_YEAR && month == G_DATE_BAD_MONTH &&
day == G_DATE_BAD_DAY) {
GST_WARNING_OBJECT (qtmux, "invalid date in tag");