Browse Source

obs-ffmpeg: Remove an unused static function

Norihiro Kamae 2 years ago
parent
commit
2aa0e03bf0
1 changed files with 0 additions and 8 deletions
  1. 0 8
      plugins/obs-ffmpeg/obs-ffmpeg-mpegts.c

+ 0 - 8
plugins/obs-ffmpeg/obs-ffmpeg-mpegts.c

@@ -626,14 +626,6 @@ void ffmpeg_mpegts_data_free(struct ffmpeg_output *stream,
 	memset(data, 0, sizeof(struct ffmpeg_data));
 }
 
-static inline const char *safe_str(const char *s)
-{
-	if (s == NULL)
-		return "(NULL)";
-	else
-		return s;
-}
-
 bool ffmpeg_mpegts_data_init(struct ffmpeg_output *stream,
 			     struct ffmpeg_data *data,
 			     struct ffmpeg_cfg *config)