Browse Source

obs-ffmpeg: Remove unused variables

PatTheMav 2 years ago
parent
commit
19c131c981
1 changed files with 0 additions and 2 deletions
  1. 0 2
      plugins/obs-ffmpeg/obs-ffmpeg-mpegts.c

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

@@ -141,7 +141,6 @@ static bool create_video_stream(struct ffmpeg_output *stream,
 				struct ffmpeg_data *data)
 {
 	AVCodecContext *context;
-	void *extradata = NULL;
 	struct obs_video_info ovi;
 
 	if (!obs_get_video_info(&ovi)) {
@@ -230,7 +229,6 @@ static bool create_audio_stream(struct ffmpeg_output *stream,
 {
 	AVCodecContext *context;
 	AVStream *avstream;
-	void *extradata = NULL;
 	struct obs_audio_info aoi;
 	const char *name = data->config.audio_encoder;
 	int channels;