[vlc-devel] [vlc-commits] codec: avcodec: workaround missing defines in avcodec

Rémi Denis-Courmont remi at remlab.net
Thu Jan 17 10:54:17 CET 2019


That seems rather vain as the function does not exist either.

Le 16 janvier 2019 23:20:19 GMT+02:00, Francois Cartegnie <git at videolan.org> a écrit :
>vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jan
>16 22:19:03 2019 +0100| [8af9e9ce5685899a65f1e0441398dbbb3282071e] |
>committer: Francois Cartegnie
>
>codec: avcodec: workaround missing defines in avcodec
>
>>
>http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8af9e9ce5685899a65f1e0441398dbbb3282071e
>---
>
> modules/codec/avcodec/avcommon.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
>diff --git a/modules/codec/avcodec/avcommon.h
>b/modules/codec/avcodec/avcommon.h
>index d2f5630acb..f510afd45a 100644
>--- a/modules/codec/avcodec/avcommon.h
>+++ b/modules/codec/avcodec/avcommon.h
>@@ -139,6 +139,10 @@ static inline void vlc_init_avcodec(vlc_object_t
>*obj)
> }
> #endif
> 
>+#ifndef AV_ERROR_MAX_STRING_SIZE
>+ #define AV_ERROR_MAX_STRING_SIZE 64
>+#endif
>+
> static inline vlc_rational_t FromAVRational(const AVRational rat)
> {
>     return (vlc_rational_t){.num = rat.num, .den = rat.den};
>
>_______________________________________________
>vlc-commits mailing list
>vlc-commits at videolan.org
>https://mailman.videolan.org/listinfo/vlc-commits

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190117/8a1c70c8/attachment.html>


More information about the vlc-devel mailing list