comparison parser.c @ 8973:34f2c7189710 libavcodec

Add key_frame to AVCodecParserContext, used in libavformat. Initialized to -1 in parser.c for backward compatibility. Patch by Ivan Schreter, schreter gmx net
author cehoyos
date Wed, 18 Feb 2009 23:46:05 +0000
parents 04423b2f6e0b
children cdd8fa4a362a
comparison
equal deleted inserted replaced
8972:eaf39f9b25df 8973:34f2c7189710
71 return NULL; 71 return NULL;
72 } 72 }
73 } 73 }
74 s->fetch_timestamp=1; 74 s->fetch_timestamp=1;
75 s->pict_type = FF_I_TYPE; 75 s->pict_type = FF_I_TYPE;
76 s->key_frame = -1;
76 return s; 77 return s;
77 } 78 }
78 79
79 void ff_fetch_timestamp(AVCodecParserContext *s, int off, int remove){ 80 void ff_fetch_timestamp(AVCodecParserContext *s, int off, int remove){
80 int i; 81 int i;