This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avutil/opt: check return value of av_bprint_finalize()
Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
tags/n4.4
Limin Wang
5 years ago
parent
af5751940e
commit
200c9b1c96
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
libavutil/opt.c
+ 3
- 1
libavutil/opt.c
View File
@@ -2120,6 +2120,8 @@ int av_opt_serialize(void *obj, int opt_flags, int flags, char **buffer,
av_freep(&buf);
}
}
av_bprint_finalize(&bprint, buffer);
ret = av_bprint_finalize(&bprint, buffer);
if (ret < 0)
return ret;
return 0;
}
Write
Preview
Loading…
Cancel
Save