Re: [FFmpeg-devel] [PATCH] cuvid: Always check for internal errors during parsing

2016-09-10 Thread Timo Rothenpieler
On 9/10/2016 9:51 PM, Philip Langdale wrote: > The cuvid parser is basically undocumented, and although you'd > think that a failed callback would result in the overall parse > call returning an error, that is not true. > > So, we end up silently trying to keep going as if nothing is wrong, >

[FFmpeg-devel] [PATCH] cuvid: Always check for internal errors during parsing

2016-09-10 Thread Philip Langdale
The cuvid parser is basically undocumented, and although you'd think that a failed callback would result in the overall parse call returning an error, that is not true. So, we end up silently trying to keep going as if nothing is wrong, which doesn't achieve anything. Solution: check the