Re: [FFmpeg-devel] [PATCH] lavc: Fix ticket 6024, truncated mode decoding

2016-12-17 Thread Michael Niedermayer
On Thu, Dec 15, 2016 at 10:19:23AM -0700, pkoshe...@gmail.com wrote: > From: Pavel Koshevoy > > The assumption that avcodec_send_packet makes regarding decoders > consuming the entire packet is not true if the codec supports > truncated decoding mode and the truncated flag

Re: [FFmpeg-devel] [PATCH] lavc: Fix ticket 6024, truncated mode decoding

2016-12-16 Thread wm4
On Thu, 15 Dec 2016 10:19:23 -0700 pkoshe...@gmail.com wrote: > From: Pavel Koshevoy > > The assumption that avcodec_send_packet makes regarding decoders > consuming the entire packet is not true if the codec supports > truncated decoding mode and the truncated flag is

Re: [FFmpeg-devel] [PATCH] lavc: Fix ticket 6024, truncated mode decoding

2016-12-15 Thread Pavel Koshevoy
passes fate, but I don't do that often so someone might want to double-check Pavel. On Thu, Dec 15, 2016 at 10:19 AM, wrote: > From: Pavel Koshevoy > > The assumption that avcodec_send_packet makes regarding decoders > consuming the entire packet is

[FFmpeg-devel] [PATCH] lavc: Fix ticket 6024, truncated mode decoding

2016-12-15 Thread pkoshevoy
From: Pavel Koshevoy The assumption that avcodec_send_packet makes regarding decoders consuming the entire packet is not true if the codec supports truncated decoding mode and the truncated flag is turned on. Steps to reproduce: ./ffmpeg_g -flags truncated \ -i

Re: [FFmpeg-devel] [PATCH] lavc: Fix ticket 6024 (v2)

2016-12-15 Thread wm4
On Thu, 15 Dec 2016 09:49:36 -0700 pkoshe...@gmail.com wrote: > From: Pavel Koshevoy > > --- > libavcodec/utils.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/utils.c b/libavcodec/utils.c > index 44ecc09..be50459 100644 > ---

Re: [FFmpeg-devel] [PATCH] lavc: Fix ticket 6024

2016-12-15 Thread wm4
On Wed, 14 Dec 2016 22:05:50 -0700 pkoshe...@gmail.com wrote: > From: Pavel Koshevoy > > --- > libavcodec/utils.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/libavcodec/utils.c b/libavcodec/utils.c > index 44ecc09..2ad96e4 100644 > --- a/libavcodec/utils.c >

[FFmpeg-devel] [PATCH] lavc: Fix ticket 6024 (v2)

2016-12-15 Thread pkoshevoy
From: Pavel Koshevoy --- libavcodec/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 44ecc09..be50459 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -2788,7 +2788,7 @@ static int

Re: [FFmpeg-devel] [PATCH] lavc: Fix ticket 6024

2016-12-15 Thread Hendrik Leppkes
On Thu, Dec 15, 2016 at 4:07 PM, Paul B Mahol wrote: > On 12/15/16, Michael Niedermayer wrote: >> On Wed, Dec 14, 2016 at 10:05:50PM -0700, pkoshe...@gmail.com wrote: >>> From: Pavel Koshevoy >>> >>> --- >>> libavcodec/utils.c | 2

Re: [FFmpeg-devel] [PATCH] lavc: Fix ticket 6024

2016-12-15 Thread Paul B Mahol
On 12/15/16, Michael Niedermayer wrote: > On Wed, Dec 14, 2016 at 10:05:50PM -0700, pkoshe...@gmail.com wrote: >> From: Pavel Koshevoy >> >> --- >> libavcodec/utils.c | 2 -- >> 1 file changed, 2 deletions(-) >> >> diff --git a/libavcodec/utils.c

Re: [FFmpeg-devel] [PATCH] lavc: Fix ticket 6024

2016-12-15 Thread Michael Niedermayer
On Wed, Dec 14, 2016 at 10:05:50PM -0700, pkoshe...@gmail.com wrote: > From: Pavel Koshevoy > > --- > libavcodec/utils.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/libavcodec/utils.c b/libavcodec/utils.c > index 44ecc09..2ad96e4 100644 > ---

[FFmpeg-devel] [PATCH] lavc: Fix ticket 6024

2016-12-14 Thread pkoshevoy
From: Pavel Koshevoy --- libavcodec/utils.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 44ecc09..2ad96e4 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -2788,8 +2788,6 @@ static int do_decode(AVCodecContext