diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-22 00:08:00 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-22 06:35:00 +0200 |
commit | 38490cbeb3a48dd488f10a72efc8d8e3f8883ac4 (patch) | |
tree | 0f5c02508df2a6245365be4415647261a3a34acc | |
parent | 72baae1395deefa64e06b6c1a88de04082695a57 (diff) | |
download | ffmpeg-38490cbeb3a48dd488f10a72efc8d8e3f8883ac4.tar.gz |
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>
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index e6158d8058..b12aff5eb0 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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; } |