libavcodec/libvpx.c
9aa053ce
 /*
  * Copyright (c) 2013 Guillaume Martres <smarter@ubuntu.com>
  *
eb87d1f6
  * This file is part of FFmpeg.
9aa053ce
  *
eb87d1f6
  * FFmpeg is free software; you can redistribute it and/or
9aa053ce
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
  * version 2.1 of the License, or (at your option) any later version.
  *
eb87d1f6
  * FFmpeg is distributed in the hope that it will be useful,
9aa053ce
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
eb87d1f6
  * License along with FFmpeg; if not, write to the Free Software
9aa053ce
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #include <vpx/vpx_codec.h>
 
 #include "libvpx.h"
 
8e5a2989
 av_cold void ff_vp9_init_static(AVCodec *codec)
9aa053ce
 {
8e5a2989
     if (    vpx_codec_version_major() < 1
         || (vpx_codec_version_major() == 1 && vpx_codec_version_minor() < 3))
         codec->capabilities |= CODEC_CAP_EXPERIMENTAL;
9aa053ce
 }