Skip to content

Commit 5ce0c90

Browse files
committed
fixed #1892
1 parent b03c9f2 commit 5ce0c90

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: src/filters/reframe_nalu.c

+4-2
Original file line numberDiff line numberDiff line change
@@ -1680,8 +1680,10 @@ static void naludmx_queue_param_set(GF_NALUDmxCtx *ctx, char *data, u32 size, u3
16801680
{
16811681
GF_List *list = NULL, *alt_list = NULL;
16821682
GF_NALUFFParam *sl;
1683-
u32 i, count;
1684-
u32 crc = gf_crc_32(data, size);
1683+
u32 i, count, crc;
1684+
1685+
if (!size) return;
1686+
crc = gf_crc_32(data, size);
16851687

16861688
if (ctx->codecid==GF_CODECID_HEVC) {
16871689
switch (ps_type) {

0 commit comments

Comments
 (0)