Commit 38490cbe authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avformat/utils: Set stream side-data size even without side-data

Reviewed-by: 's avatarJames Almer <jamrial@gmail.com>
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
parent 72baae13
......@@ -5507,6 +5507,8 @@ uint8_t *av_stream_get_side_data(const AVStream *st,
return st->side_data[i].data;
}
}
if (size)
*size = 0;
return NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment