Mercurial > libavformat.hg
changeset 3035:f5de7bad2bb9 libavformat
typo fix: inited --> initialized
author | diego |
---|---|
date | Wed, 13 Feb 2008 09:26:10 +0000 |
parents | e8cf328bb609 |
children | 62181fbfc128 |
files | allformats.c nutdec.c |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/allformats.c Mon Feb 11 22:37:44 2008 +0000 +++ b/allformats.c Wed Feb 13 09:26:10 2008 +0000 @@ -40,11 +40,11 @@ */ void av_register_all(void) { - static int inited; + static int initialized; - if (inited) + if (initialized) return; - inited = 1; + initialized = 1; avcodec_init(); avcodec_register_all();
--- a/nutdec.c Mon Feb 11 22:37:44 2008 +0000 +++ b/nutdec.c Wed Feb 13 09:26:10 2008 +0000 @@ -531,7 +531,7 @@ NUTContext *nut = s->priv_data; ByteIOContext *bc = s->pb; int64_t pos; - int inited_stream_count; + int initialized_stream_count; nut->avf= s; @@ -547,14 +547,14 @@ /* stream headers */ pos=0; - for(inited_stream_count=0; inited_stream_count < s->nb_streams;){ + for(initialized_stream_count=0; initialized_stream_count < s->nb_streams;){ pos= find_startcode(bc, STREAM_STARTCODE, pos)+1; if (pos<0+1){ av_log(s, AV_LOG_ERROR, "Not all stream headers found.\n"); return -1; } if(decode_stream_header(nut) >= 0) - inited_stream_count++; + initialized_stream_count++; } /* info headers */