Michael Niedermayer:
> On Fri, Aug 12, 2022 at 02:40:43PM +0200, Andreas Rheinhardt wrote:
>> NULL + anything is UB.
>>
>> Signed-off-by: Andreas Rheinhardt
>> ---
>> libavcodec/mimic.c | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> if its NULL, LGTM
>
It is (at least for the f
On Fri, Aug 12, 2022 at 02:40:43PM +0200, Andreas Rheinhardt wrote:
> NULL + anything is UB.
>
> Signed-off-by: Andreas Rheinhardt
> ---
> libavcodec/mimic.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
if its NULL, LGTM
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6
NULL + anything is UB.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mimic.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/mimic.c b/libavcodec/mimic.c
index ce5c2afd19..bcf10b7ae1 100644
--- a/libavcodec/mimic.c
+++ b/libavcodec/mimic.c
@@ -268,8 +268,9 @@