1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-29 08:19:48 +02:00

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:
Michael Niedermayer 2013-01-05 13:37:30 +01:00
commit bb4fb7715c

View File

@ -888,8 +888,10 @@ SwsContext *sws_alloc_context(void)
{ {
SwsContext *c = av_mallocz(sizeof(SwsContext)); SwsContext *c = av_mallocz(sizeof(SwsContext));
c->av_class = &sws_context_class; if (c) {
av_opt_set_defaults(c); c->av_class = &sws_context_class;
av_opt_set_defaults(c);
}
return c; return c;
} }