changeset 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 7bec6dd03317
children 59f4fb490fa7
files parser.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/parser.c	Mon Mar 26 15:21:19 2007 +0000
+++ b/parser.c	Mon Mar 26 17:33:45 2007 +0000
@@ -70,6 +70,7 @@
         }
     }
     s->fetch_timestamp=1;
+    s->pict_type = FF_I_TYPE;
     return s;
 }