mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-03 14:32:16 +02:00
avformat/sdp: Fix use of uninitialised value
Fixes Coverity ticket #1495831. Regression since fe31708eaa10af42507b8db773d5af5a56e1aff4. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
9c590b76f4
commit
631e31773b
@ -237,7 +237,7 @@ static int extradata2psets_hevc(const AVCodecParameters *par, char **out)
|
||||
int ps_pos[3] = { 0 };
|
||||
static const char * const ps_names[3] = { "vps", "sps", "pps" };
|
||||
int num_arrays, num_nalus;
|
||||
int pos, i, j, ret;
|
||||
int pos, i, j, ret = 0;
|
||||
|
||||
*out = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user