equal
deleted
inserted
replaced
31 #include <QComboBox> |
31 #include <QComboBox> |
32 |
32 |
33 #include "HWApplication.h" |
33 #include "HWApplication.h" |
34 |
34 |
35 // compatibility section |
35 // compatibility section |
|
36 #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 8, 0) |
|
37 #define av_codec_is_encoder(x) x->encode |
|
38 #endif |
|
39 |
36 #if LIBAVCODEC_VERSION_MAJOR < 55 |
40 #if LIBAVCODEC_VERSION_MAJOR < 55 |
37 #define av_codec_is_encoder(x) x->encode |
|
38 #define AVCodecID CodecID |
41 #define AVCodecID CodecID |
39 #endif |
42 #endif |
40 |
43 |
41 #if LIBAVFORMAT_VERSION_MAJOR < 54 |
44 #if LIBAVFORMAT_VERSION_MAJOR < 54 |
42 #define avformat_find_stream_info(x, y) av_find_stream_info(x) |
45 #define avformat_find_stream_info(x, y) av_find_stream_info(x) |