Revision ce5e49b0 libavcodec/parser.c
libavcodec/parser.c | ||
---|---|---|
72 | 72 |
} |
73 | 73 |
} |
74 | 74 |
s->fetch_timestamp=1; |
75 |
s->pict_type = FF_I_TYPE;
|
|
75 |
s->pict_type = AV_PICTURE_TYPE_I;
|
|
76 | 76 |
s->key_frame = -1; |
77 | 77 |
s->convergence_duration = 0; |
78 | 78 |
s->dts_sync_point = INT_MIN; |
... | ... | |
186 | 186 |
*poutbuf_size= buf_size; |
187 | 187 |
if(avctx->extradata){ |
188 | 188 |
if( (keyframe && (avctx->flags2 & CODEC_FLAG2_LOCAL_HEADER)) |
189 |
/*||(s->pict_type != FF_I_TYPE && (s->flags & PARSER_FLAG_DUMP_EXTRADATA_AT_NOKEY))*/
|
|
189 |
/*||(s->pict_type != AV_PICTURE_TYPE_I && (s->flags & PARSER_FLAG_DUMP_EXTRADATA_AT_NOKEY))*/
|
|
190 | 190 |
/*||(? && (s->flags & PARSER_FLAG_DUMP_EXTRADATA_AT_BEGIN)*/){ |
191 | 191 |
int size= buf_size + avctx->extradata_size; |
192 | 192 |
*poutbuf_size= size; |
Also available in: Unified diff