James Almer:
> On 5/31/2020 4:34 PM, Andreas Rheinhardt wrote:
>> James Almer:
>>> On 5/31/2020 4:11 PM, Andreas Rheinhardt wrote:
James Almer:
> On 5/31/2020 2:58 PM, Andreas Rheinhardt wrote:>> (Anyway, when this
> function is switched to size_t,
>> the correct error would be
On 5/31/2020 4:34 PM, Andreas Rheinhardt wrote:
> James Almer:
>> On 5/31/2020 4:11 PM, Andreas Rheinhardt wrote:
>>> James Almer:
On 5/31/2020 2:58 PM, Andreas Rheinhardt wrote:>> (Anyway, when this
function is switched to size_t,
> the correct error would be AVERROR(ERANGE). It is
James Almer:
> On 5/31/2020 4:11 PM, Andreas Rheinhardt wrote:
>> James Almer:
>>> On 5/31/2020 2:58 PM, Andreas Rheinhardt wrote:>> (Anyway, when this
>>> function is switched to size_t,
the correct error would be AVERROR(ERANGE). It is actually already the
correct error in case size >
On 5/31/2020 4:11 PM, Andreas Rheinhardt wrote:
> James Almer:
>> On 5/31/2020 2:58 PM, Andreas Rheinhardt wrote:>> (Anyway, when this
>> function is switched to size_t,
>>> the correct error would be AVERROR(ERANGE). It is actually already the
>>> correct error in case size > INT_MAX -
James Almer:
> On 5/31/2020 2:58 PM, Andreas Rheinhardt wrote:>> (Anyway, when this function
> is switched to size_t,
>> the correct error would be AVERROR(ERANGE). It is actually already the
>> correct error in case size > INT_MAX - AV_INPUT_BUFFER_PADDING_SIZE.)
>> 3. That's unfortunately only
On 5/31/2020 3:35 PM, James Almer wrote:
> On 5/31/2020 2:58 PM, Andreas Rheinhardt wrote:
>> James Almer:
>>> Signed-off-by: James Almer
>>> ---
>>> doc/APIchanges| 4 ++--
>>> libavcodec/avpacket.c | 49 +++
>>> libavcodec/packet.h | 45
On 5/31/2020 2:58 PM, Andreas Rheinhardt wrote:
> James Almer:
>> Signed-off-by: James Almer
>> ---
>> doc/APIchanges| 4 ++--
>> libavcodec/avpacket.c | 49 +++
>> libavcodec/packet.h | 45 +++
>>
James Almer:
> Signed-off-by: James Almer
> ---
> doc/APIchanges| 4 ++--
> libavcodec/avpacket.c | 49 +++
> libavcodec/packet.h | 45 +++
> libavutil/frame.h | 4
> 4 files changed, 100
Signed-off-by: James Almer
---
doc/APIchanges| 4 ++--
libavcodec/avpacket.c | 49 +++
libavcodec/packet.h | 45 +++
libavutil/frame.h | 4
4 files changed, 100 insertions(+), 2 deletions(-)
diff