mirror of https://git.ffmpeg.org/ffmpeg.git
Merge remote-tracking branch 'qatar/master'
* qatar/master: swscale: fix NULL checking in sws_alloc_context() mxfdec: fix NULL checking in mxf_get_sorted_table_segments() finalize changelog for version 9 Conflicts: Changelog libavformat/mxfdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
bb4fb7715c
|
@ -888,8 +888,10 @@ SwsContext *sws_alloc_context(void)
|
|||
{
|
||||
SwsContext *c = av_mallocz(sizeof(SwsContext));
|
||||
|
||||
if (c) {
|
||||
c->av_class = &sws_context_class;
|
||||
av_opt_set_defaults(c);
|
||||
}
|
||||
|
||||
return c;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue