diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-11-25 15:45:58 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-11-30 00:01:53 +0100 |
commit | 08d0969c1402ccec4dce44bd430128fb59d7b790 (patch) | |
tree | 60a36c18b0619a928b74081552f7f3a6bc7efec8 /libavutil/version.h | |
parent | 0b28abf903cd1fd61ba4a06009cd2cb7cc40e6e0 (diff) | |
download | ffmpeg-08d0969c1402ccec4dce44bd430128fb59d7b790.tar.gz |
lavu/opt: change the way default pixel and sample format value is set
Use the i64 field rather than the string value. Using a string to set a
default sample/pixel format is weird, also the new interface is more
consistent with the rest of the API.
This is technically an API break, but hopefully there are no applications
using this feature outside of FFmpeg. In order to save backward
compatibility with mixed libraries in case libavutil is updated but not
the other libraries, some ifdeffery hacks are added.
Note that the version check is only performed when class->version != 0,
since if it is not defined then we assume that no version was defined and
the class is not affected by the change.
We will luckily get rid of the hack at the next major bump.
Diffstat (limited to 'libavutil/version.h')
-rw-r--r-- | libavutil/version.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/version.h b/libavutil/version.h index af60f71986..9f22ff7678 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -75,8 +75,8 @@ */ #define LIBAVUTIL_VERSION_MAJOR 52 -#define LIBAVUTIL_VERSION_MINOR 9 -#define LIBAVUTIL_VERSION_MICRO 102 +#define LIBAVUTIL_VERSION_MINOR 10 +#define LIBAVUTIL_VERSION_MICRO 100 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ LIBAVUTIL_VERSION_MINOR, \ |