[FFmpeg-devel] [PATCH 7/8] Change type of {audio, video, subtitle}_codec_tag variables from int to unsigned int, as the corresponding type set in AVCodecContext.codec_tag is unsigned int.

Stefano Sabatini stefano.sabatini-lala
Wed Jun 2 15:30:38 CEST 2010


---
 ffmpeg.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index ca52b00..bacbc1c 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -139,7 +139,7 @@ static const char *video_rc_override_string=NULL;
 static int video_disable = 0;
 static int video_discard = 0;
 static char *video_codec_name = NULL;
-static int video_codec_tag = 0;
+static unsigned int video_codec_tag = 0;
 static char *video_language = NULL;
 static int same_quality = 0;
 static int do_deinterlace = 0;
@@ -162,13 +162,13 @@ static float audio_qscale = QSCALE_NONE;
 static int audio_disable = 0;
 static int audio_channels = 1;
 static char  *audio_codec_name = NULL;
-static int audio_codec_tag = 0;
+static unsigned int audio_codec_tag = 0;
 static char *audio_language = NULL;
 
 static int subtitle_disable = 0;
 static char *subtitle_codec_name = NULL;
 static char *subtitle_language = NULL;
-static int subtitle_codec_tag = 0;
+static unsigned int subtitle_codec_tag = 0;
 
 static float mux_preload= 0.5;
 static float mux_max_delay= 0.7;
-- 
1.7.1




More information about the ffmpeg-devel mailing list