Re: [libav-devel] [PATCH] Return the actual size of the data in AVPacket when decoding VP9 superframe

2016-06-06 Thread Vittorio Giovara
On Sat, Jun 4, 2016 at 7:28 AM, Luca Barbato wrote: > On 04/06/16 13:22, y...@dinauz.org wrote: >> From: typx >> >> According to avcodec.h, avcodec_decode_video2 should return the number of >> bytes used if a frame was decoded. >> The current implementation returns size - used size of all the su

Re: [libav-devel] [PATCH] Return the actual size of the data in AVPacket when decoding VP9 superframe

2016-06-04 Thread Luca Barbato
On 04/06/16 13:22, y...@dinauz.org wrote: > From: typx > > According to avcodec.h, avcodec_decode_video2 should return the number of > bytes used if a frame was decoded. > The current implementation returns size - used size of all the subframes. > This fixes the VLC's bug https://trac.videolan.o

[libav-devel] [PATCH] Return the actual size of the data in AVPacket when decoding VP9 superframe

2016-06-04 Thread y
From: typx According to avcodec.h, avcodec_decode_video2 should return the number of bytes used if a frame was decoded. The current implementation returns size - used size of all the subframes. This fixes the VLC's bug https://trac.videolan.org/vlc/ticket/16836. --- libavcodec/vp9.c | 2 +- 1 f