Skip to content

Deprecation warnings from ffmpeg-2.8.10

ffmpeg is deprecating the following constructions we use in this package:

bob/io/video/cpp/utils.cpp:1181:26: warning: 'coded_frame' is deprecated
      [-Wdeprecated-declarations]
      if (stream->codec->coded_frame->key_frame) pkt->flags |= AV_PKT_FLAG_KEY;
                         ^
/Users/andre/conda/envs/bob-devel-py27/include/libavcodec/avcodec.h:3024:35: note:
      'coded_frame' has been explicitly marked deprecated here
    attribute_deprecated AVFrame *coded_frame;
                                  ^
bob/io/video/cpp/utils.cpp:1308:26: warning: 'coded_frame' is deprecated
      [-Wdeprecated-declarations]
      if (stream->codec->coded_frame && stream->codec->coded_frame->key_frame)
                         ^
/Users/andre/conda/envs/bob-devel-py27/include/libavcodec/avcodec.h:3024:35: note:
      'coded_frame' has been explicitly marked deprecated here
    attribute_deprecated AVFrame *coded_frame;
                                  ^
bob/io/video/cpp/utils.cpp:1308:56: warning: 'coded_frame' is deprecated
      [-Wdeprecated-declarations]
      if (stream->codec->coded_frame && stream->codec->coded_frame->key_frame)
                                                       ^
/Users/andre/conda/envs/bob-devel-py27/include/libavcodec/avcodec.h:3024:35: note:
      'coded_frame' has been explicitly marked deprecated here
    attribute_deprecated AVFrame *coded_frame;
                                  ^
3 warnings generated.