[SCM] libav/experimental: set pict_type to I type during init so parsers which dont set it get all i frames, fixes mp3 seeking
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:58:15 UTC 2013
The following commit has been merged in the experimental branch:
commit adcb72b52138d832c6e524614f0c6cc43f049ff9
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Mon Mar 26 17:33:45 2007 +0000
set pict_type to I type during init so parsers which dont set it get all i frames, fixes mp3 seeking
Originally committed as revision 8528 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/parser.c b/libavcodec/parser.c
index ab3bf8d..f3e7ee3 100644
--- a/libavcodec/parser.c
+++ b/libavcodec/parser.c
@@ -70,6 +70,7 @@ AVCodecParserContext *av_parser_init(int codec_id)
}
}
s->fetch_timestamp=1;
+ s->pict_type = FF_I_TYPE;
return s;
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list