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

libavfilter/vf_yadif.c:250:1: start of procedure get_video_buffer()
248. }
249. 
250. static AVFrame *get_video_buffer(AVFilterLink *link, int w, int h)
     ^
251. {
252.     AVFrame *frame;

libavfilter/vf_yadif.c:253:5: 
251. {
252.     AVFrame *frame;
253.     int width  = FFALIGN(w, 32);
         ^
254.     int height = FFALIGN(h + 2, 32);
255.     int i;

libavfilter/vf_yadif.c:254:5: 
252.     AVFrame *frame;
253.     int width  = FFALIGN(w, 32);
254.     int height = FFALIGN(h + 2, 32);
         ^
255.     int i;
256. 

libavfilter/vf_yadif.c:257:5: 
255.     int i;
256. 
257.     frame = ff_default_get_video_buffer(link, width, height);
         ^
258. 
259.     frame->width  = w;

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

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

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

libavfilter/video.c:44:9: 
  42. 
  43.     if (!frame)
  44.         return NULL;
              ^
  45. 
  46.     frame->width  = w;

libavfilter/video.c:55:1: return from a call to ff_default_get_video_buffer
  53. 
  54.     return frame;
  55. }
      ^
  56. 
  57. AVFrame *ff_get_video_buffer(AVFilterLink *link, int w, int h)

libavfilter/vf_yadif.c:259:5: 
257.     frame = ff_default_get_video_buffer(link, width, height);
258. 
259.     frame->width  = w;
         ^
260.     frame->height = h;
261. 
