aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-01-08 18:44:36 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-01-08 18:44:36 +0000
commit303aebf97a1537185aa47f262eb9d756b0e315a7 (patch)
tree3e211c91a31e543c4a63794eda54cc2db6d57081 /ffmpeg.c
parent967be700506dce69b69aaa5c479b51db45a665f2 (diff)
downloadffmpeg-303aebf97a1537185aa47f262eb9d756b0e315a7.tar.gz
uninitalized variables fix by (Gildas Bazin <gbazin at altern dot org>)
and some related cleanup by me Originally committed as revision 2677 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index c603ba1d39..f0d49fa763 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -483,7 +483,7 @@ static void do_video_out(AVFormatContext *s,
int nb_frames, i, ret;
AVPicture *final_picture, *formatted_picture;
AVPicture picture_format_temp, picture_crop_temp;
- static uint8_t *video_buffer;
+ static uint8_t *video_buffer= NULL;
uint8_t *buf = NULL, *buf1 = NULL;
AVCodecContext *enc, *dec;
enum PixelFormat target_pixfmt;