mpegts: Use av_free() to free memory allocated by av_strdup()