libavfilter/vf_yadif.c:269: error: Null Dereference
  pointer `frame` last assigned on line 267 could be null and is dereferenced at line 269, column 5.

libavfilter/vf_yadif.c:260:1: start of procedure get_video_buffer()
258. }
259. 
260. static AVFrame *get_video_buffer(AVFilterLink *link, int w, int h)
     ^
261. {
262.     AVFrame *frame;

libavfilter/vf_yadif.c:263:5: 
261. {
262.     AVFrame *frame;
263.     int width  = FFALIGN(w, 32);
         ^
264.     int height = FFALIGN(h + 2, 32);
265.     int i;

libavfilter/vf_yadif.c:264:5: 
262.     AVFrame *frame;
263.     int width  = FFALIGN(w, 32);
264.     int height = FFALIGN(h + 2, 32);
         ^
265.     int i;
266. 

libavfilter/vf_yadif.c:267:5: 
265.     int i;
266. 
267.     frame = ff_default_get_video_buffer(link, width, height);
         ^
268. 
269.     frame->width  = w;

libavfilter/video.c:39:1: start of procedure ff_default_get_video_buffer()
  37.  * filter chain.  This will allow for a buffer pool instead of the constant
  38.  * alloc & free cycle currently implemented. */
  39. AVFrame *ff_default_get_video_buffer(AVFilterLink *link, int w, int h)
      ^
  40. {
  41.     AVFrame *frame = av_frame_alloc();

libavfilter/video.c:41:5: Skipping av_frame_alloc(): empty list of specs
  39. AVFrame *ff_default_get_video_buffer(AVFilterLink *link, int w, int h)
  40. {
  41.     AVFrame *frame = av_frame_alloc();
          ^
  42.     int ret;
  43. 

libavfilter/video.c:44:10: Taking true branch
  42.     int ret;
  43. 
  44.     if (!frame)
               ^
  45.         return NULL;
  46. 

libavfilter/video.c:45:9: 
  43. 
  44.     if (!frame)
  45.         return NULL;
              ^
  46. 
  47.     if (link->hw_frames_ctx &&

libavfilter/video.c:61:1: return from a call to ff_default_get_video_buffer
  59. 
  60.     return frame;
  61. }
      ^
  62. 
  63. AVFrame *ff_get_video_buffer(AVFilterLink *link, int w, int h)

libavfilter/vf_yadif.c:269:5: 
267.     frame = ff_default_get_video_buffer(link, width, height);
268. 
269.     frame->width  = w;
         ^
270.     frame->height = h;
271. 
