Mercurial > mplayer.hg
comparison libmpcodecs/vf_lavcdeint.c @ 25962:afa125da85cf
typo fix: inited --> initialized
author | diego |
---|---|
date | Thu, 14 Feb 2008 14:23:55 +0000 |
parents | 00fff9a3b735 |
children | 1318e956c092 |
comparison
equal
deleted
inserted
replaced
25961:354ad909efcf | 25962:afa125da85cf |
---|---|
15 #include <ffmpeg/avcodec.h> | 15 #include <ffmpeg/avcodec.h> |
16 #else | 16 #else |
17 #include "libavcodec/avcodec.h" | 17 #include "libavcodec/avcodec.h" |
18 #endif | 18 #endif |
19 | 19 |
20 extern int avcodec_inited; | 20 extern int avcodec_initialized; |
21 | 21 |
22 struct vf_priv_s | 22 struct vf_priv_s |
23 { | 23 { |
24 int width, height; | 24 int width, height; |
25 int pix_fmt; | 25 int pix_fmt; |
160 memset(vf->priv,0,sizeof(struct vf_priv_s)); | 160 memset(vf->priv,0,sizeof(struct vf_priv_s)); |
161 | 161 |
162 /* This may not technically be necessary just for a deinterlace, | 162 /* This may not technically be necessary just for a deinterlace, |
163 * but it seems like a good idea. | 163 * but it seems like a good idea. |
164 */ | 164 */ |
165 if(!avcodec_inited) | 165 if(!avcodec_initialized) |
166 { | 166 { |
167 avcodec_init(); | 167 avcodec_init(); |
168 avcodec_register_all(); | 168 avcodec_register_all(); |
169 avcodec_inited=1; | 169 avcodec_initialized=1; |
170 } | 170 } |
171 | 171 |
172 return 1; | 172 return 1; |
173 } | 173 } |
174 | 174 |