From d78647e8b4ae46352d689179079a65cc7e1d1efe Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Mon, 23 Jul 2001 18:58:11 +0000 Subject: [PATCH] fixed unsigned pb Originally committed as revision 7 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpeg12.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 3e2e523560..5b5411b1d4 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -69,7 +69,8 @@ static void put_header(MpegEncContext *s, int header) static void mpeg1_encode_sequence_header(MpegEncContext *s) { unsigned int vbv_buffer_size; - unsigned int fps, n, v; + unsigned int fps, v; + int n; UINT64 time_code; if ((s->picture_number % s->gop_size) == 0) {