Mercurial > libavcodec.hg
comparison parser.c @ 6481:493dc59d469a libavcodec
add FF_ prefix to all (frame)_TYPE usage
author | aurel |
---|---|
date | Sun, 09 Mar 2008 23:31:02 +0000 |
parents | b1fe945d73f9 |
children | 23b2a64342f2 |
comparison
equal
deleted
inserted
replaced
6480:6f01a499e785 | 6481:493dc59d469a |
---|---|
195 /* cast to avoid warning about discarding qualifiers */ | 195 /* cast to avoid warning about discarding qualifiers */ |
196 *poutbuf= (uint8_t *) buf; | 196 *poutbuf= (uint8_t *) buf; |
197 *poutbuf_size= buf_size; | 197 *poutbuf_size= buf_size; |
198 if(avctx->extradata){ | 198 if(avctx->extradata){ |
199 if( (keyframe && (avctx->flags2 & CODEC_FLAG2_LOCAL_HEADER)) | 199 if( (keyframe && (avctx->flags2 & CODEC_FLAG2_LOCAL_HEADER)) |
200 /*||(s->pict_type != I_TYPE && (s->flags & PARSER_FLAG_DUMP_EXTRADATA_AT_NOKEY))*/ | 200 /*||(s->pict_type != FF_I_TYPE && (s->flags & PARSER_FLAG_DUMP_EXTRADATA_AT_NOKEY))*/ |
201 /*||(? && (s->flags & PARSER_FLAG_DUMP_EXTRADATA_AT_BEGIN)*/){ | 201 /*||(? && (s->flags & PARSER_FLAG_DUMP_EXTRADATA_AT_BEGIN)*/){ |
202 int size= buf_size + avctx->extradata_size; | 202 int size= buf_size + avctx->extradata_size; |
203 *poutbuf_size= size; | 203 *poutbuf_size= size; |
204 *poutbuf= av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE); | 204 *poutbuf= av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE); |
205 | 205 |