[FFmpeg-devel] [PATCH v2] avcodec/tak_parser: don't return error values

Michael Niedermayer michael at niedermayer.cc
Sat Jul 20 19:29:48 EEST 2019


On Thu, Jul 18, 2019 at 07:37:57PM -0300, James Almer wrote:
> The API does not allow it.
> 
> Also set poutbuf and poutbuf_size to NULL/0 on error to avoid leaving
> them uninitialized.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavcodec/tak_parser.c | 20 ++++++++++++--------
>  1 file changed, 12 insertions(+), 8 deletions(-)

probably ok

Thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190720/dd2f8290/attachment.sig>


More information about the ffmpeg-devel mailing list