Re: [libav-devel] [PATCH 4/4] h264dec: drop pointless counting of consumed bytes

2017-02-01 Thread Vittorio Giovara
On Wed, Feb 1, 2017 at 11:34 AM, Anton Khirnov wrote: > Quoting Vittorio Giovara (2017-02-01 10:44:11) >> On Wed, Feb 1, 2017 at 10:25 AM, Anton Khirnov wrote: >> > Video decoders always consume full packets. >> > --- >> > libavcodec/h264dec.c | 20

Re: [libav-devel] [PATCH 4/4] h264dec: drop pointless counting of consumed bytes

2017-02-01 Thread Anton Khirnov
Quoting Vittorio Giovara (2017-02-01 10:44:11) > On Wed, Feb 1, 2017 at 10:25 AM, Anton Khirnov wrote: > > Video decoders always consume full packets. > > --- > > libavcodec/h264dec.c | 20 +++- > > 1 file changed, 3 insertions(+), 17 deletions(-) > > Do you

Re: [libav-devel] [PATCH 4/4] h264dec: drop pointless counting of consumed bytes

2017-02-01 Thread Luca Barbato
On 01/02/2017 10:25, Anton Khirnov wrote: > Video decoders always consume full packets. > --- > libavcodec/h264dec.c | 20 +++- > 1 file changed, 3 insertions(+), 17 deletions(-) > Possibly OK. ___ libav-devel mailing list

Re: [libav-devel] [PATCH 4/4] h264dec: drop pointless counting of consumed bytes

2017-02-01 Thread Vittorio Giovara
On Wed, Feb 1, 2017 at 10:25 AM, Anton Khirnov wrote: > Video decoders always consume full packets. > --- > libavcodec/h264dec.c | 20 +++- > 1 file changed, 3 insertions(+), 17 deletions(-) Do you mean that get_consumed_bytes() was always equal to buf_size?

[libav-devel] [PATCH 4/4] h264dec: drop pointless counting of consumed bytes

2017-02-01 Thread Anton Khirnov
Video decoders always consume full packets. --- libavcodec/h264dec.c | 20 +++- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 6ce0287..a68a9ad 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -628,19