mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
72baae1395
commit
38490cbeb3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue