avformat/utils: Set stream side-data size even without side-data
Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
@ -5507,6 +5507,8 @@ uint8_t *av_stream_get_side_data(const AVStream *st,
|
|||||||
return st->side_data[i].data;
|
return st->side_data[i].data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (size)
|
||||||
|
*size = 0;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user