From 835c654bb0089933c5dd85a8ca123581cda1169e Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 14 Feb 2008 14:23:55 +0000 Subject: typo fix: inited --> initialized git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_zrmjpeg.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libmpcodecs/vf_zrmjpeg.c') diff --git a/libmpcodecs/vf_zrmjpeg.c b/libmpcodecs/vf_zrmjpeg.c index 91a88eb9b1..d74a4db9f5 100644 --- a/libmpcodecs/vf_zrmjpeg.c +++ b/libmpcodecs/vf_zrmjpeg.c @@ -39,7 +39,7 @@ #undef free #undef realloc -extern int avcodec_inited; +extern int avcodec_initialized; /* some convenient #define's, is this portable enough? */ /// Printout with vf_zrmjpeg: prefix at VERBOSE level @@ -52,7 +52,7 @@ extern int avcodec_inited; // "local" flag in vd_ffmpeg.c. If not set, avcodec_init() et. al. need to be called // set when init is done, so that initialization is not done twice. -extern int avcodec_inited; +extern int avcodec_initialized; /// structure copied from mjpeg.c /* zrmjpeg_encode_mb needs access to these tables for the black & white @@ -479,10 +479,10 @@ static jpeg_enc_t *jpeg_enc_init(int w, int h, int y_rsize, /* if libavcodec is used by the decoder then we must not * initialize again, but if it is not initialized then we must * initialize it here. */ - if (!avcodec_inited) { + if (!avcodec_initialized) { avcodec_init(); avcodec_register_all(); - avcodec_inited=1; + avcodec_initialized=1; } // Build mjpeg huffman code tables, setting up j->s->mjpeg_ctx @@ -921,11 +921,11 @@ static int open(vf_instance_t *vf, char* args){ /* if libavcodec is already initialized, we must not initialize it * again, but if it is not initialized then we mustinitialize it now. */ - if (!avcodec_inited) { + if (!avcodec_initialized) { /* we need to initialize libavcodec */ avcodec_init(); avcodec_register_all(); - avcodec_inited=1; + avcodec_initialized=1; } if (args) { -- cgit v1.2.3