Signed-off-by: James Almer <jamr...@gmail.com>
---
 libavcodec/evc_parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/evc_parse.c b/libavcodec/evc_parse.c
index 71e2605281..b3044eca3f 100644
--- a/libavcodec/evc_parse.c
+++ b/libavcodec/evc_parse.c
@@ -357,7 +357,7 @@ EVCParserPPS *ff_evc_parse_pps(EVCParserContext *ctx, const 
uint8_t *bs, int bs_
         return NULL;
 
     if(!ctx->pps[pps_pic_parameter_set_id]) {
-        if((ctx->pps[pps_pic_parameter_set_id] = 
av_malloc(sizeof(EVCParserSPS))) == NULL)
+        if((ctx->pps[pps_pic_parameter_set_id] = 
av_malloc(sizeof(EVCParserPPS))) == NULL)
             return NULL;
     }
 
-- 
2.41.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to