[FFmpeg-devel] [PATCH] reset avio buffer when ffm wrapped around

Michael Niedermayer michaelni at gmx.at
Thu Aug 4 20:08:38 CEST 2011

On Thu, Aug 04, 2011 at 11:01:37PM +0800, Yan Jing wrote:
> Fixes the invalid stream index bug of ffserver after ffm wrapped around

how can this bug be reproduced ?

>  ffmdec.c |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> b56fc56c892dfcf42571baf269eec4a56c55d0aa  libavformat-ffmdec.patch
> ffmdec:回绕到文件开始时,重置 AVIOContext 缓冲区
> * 避免从缓冲区中读出被覆盖前的旧的数据,解决 invalid stream index 错误

Please provide a commit message in english
also please explain how/why this change fixes a
"invalid stream index bug"


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110804/b44cb969/attachment.asc>

More information about the ffmpeg-devel mailing list