[FFmpeg-devel] [PATCH 6/8] ffmdec: fix infinite loop at EOF

Michael Niedermayer michaelni at gmx.at
Mon Mar 9 03:24:11 CET 2015


On Mon, Mar 09, 2015 at 12:04:37AM +0100, Andreas Cadhalpun wrote:
> Hi,
> 
> if ffm files are shorter than expected, these loops never finish.
> Attached patch fixes that.
> 
> Best regards,
> Andreas

>  ffmdec.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 15281e8220cd5aef8606a499bb51569cbc6dfe49  0006-ffmdec-fix-infinite-loop-at-EOF.patch
> From 697ac779497e26e27e6337205e37a371020add1e Mon Sep 17 00:00:00 2001
> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> Date: Sun, 8 Mar 2015 23:31:48 +0100
> Subject: [PATCH 6/8] ffmdec: fix infinite loop at EOF
> 
> If EOF is reached, while skipping bytes, avio_tell(pb) won't change
> anymore, resulting in an infinite loop.

applied

thanks

[...]

-- 
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: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150309/b51f1c2b/attachment.asc>


More information about the ffmpeg-devel mailing list