Re: [FFmpeg-devel] [PATCH 3/6] truehd_core: Return error in case of error

2019-07-09 Thread Paul B Mahol
On 7/6/19, Andreas Rheinhardt wrote: > Several checks (e.g. when the size of the input packet is too small) > simply used "goto fail", but didn't set the return value appropriately > for an error. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/truehd_core_bsf.c | 14 ++ >

[FFmpeg-devel] [PATCH 3/6] truehd_core: Return error in case of error

2019-07-06 Thread Andreas Rheinhardt
Several checks (e.g. when the size of the input packet is too small) simply used "goto fail", but didn't set the return value appropriately for an error. Signed-off-by: Andreas Rheinhardt --- libavcodec/truehd_core_bsf.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-)