Re: [FFmpeg-devel] [PATCH 3/5] asfdec_o: make sure packet_size is non-zero before seeking

2016-01-14 Thread Andreas Cadhalpun
On 06.01.2016 19:55, Andreas Cadhalpun wrote: > This fixes infinite loops due to seeking back. > --- > libavformat/asfdec_o.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/libavformat/asfdec_o.c b/libavformat/asfdec_o.c > index b81519f..4a3c815 100644 > ---

[FFmpeg-devel] [PATCH 3/5] asfdec_o: make sure packet_size is non-zero before seeking

2016-01-06 Thread Andreas Cadhalpun
This fixes infinite loops due to seeking back. --- libavformat/asfdec_o.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/asfdec_o.c b/libavformat/asfdec_o.c index b81519f..4a3c815 100644 --- a/libavformat/asfdec_o.c +++ b/libavformat/asfdec_o.c @@ -1287,6 +1287,10 @@ static