Mercurial > libavcodec.hg
comparison parser.c @ 4739:9b4c5d2fb8ce libavcodec
set pict_type to I type during init so parsers which dont set it get all i frames, fixes mp3 seeking
| author | michael |
|---|---|
| date | Mon, 26 Mar 2007 17:33:45 +0000 |
| parents | acdd4b24f5c5 |
| children | 522e52c630bd |
comparison
equal
deleted
inserted
replaced
| 4738:7bec6dd03317 | 4739:9b4c5d2fb8ce |
|---|---|
| 68 av_free(s); | 68 av_free(s); |
| 69 return NULL; | 69 return NULL; |
| 70 } | 70 } |
| 71 } | 71 } |
| 72 s->fetch_timestamp=1; | 72 s->fetch_timestamp=1; |
| 73 s->pict_type = FF_I_TYPE; | |
| 73 return s; | 74 return s; |
| 74 } | 75 } |
| 75 | 76 |
| 76 /** | 77 /** |
| 77 * | 78 * |
