Mercurial > libavcodec.hg
comparison avcodec.h @ 8327:54ff3a76b736 libavcodec
Remove set_all_opt() and its use in av_set_string2(). Make
av_set_string() and av_set_string2() do not accept as parameter the
name of a named constant.
This avoids av_set_string2() and av_set_string() to misbehave when
there is an option and a named constant with the same name.
See the thread: "[PATCH] Remove libavcodec/opt.c:set_all_opt()".
| author | stefano |
|---|---|
| date | Sun, 14 Dec 2008 21:34:12 +0000 |
| parents | 678c7604463e |
| children | 2e654989814e |
comparison
equal
deleted
inserted
replaced
| 8326:678c7604463e | 8327:54ff3a76b736 |
|---|---|
| 29 | 29 |
| 30 #include "libavutil/avutil.h" | 30 #include "libavutil/avutil.h" |
| 31 | 31 |
| 32 #define LIBAVCODEC_VERSION_MAJOR 52 | 32 #define LIBAVCODEC_VERSION_MAJOR 52 |
| 33 #define LIBAVCODEC_VERSION_MINOR 6 | 33 #define LIBAVCODEC_VERSION_MINOR 6 |
| 34 #define LIBAVCODEC_VERSION_MICRO 2 | 34 #define LIBAVCODEC_VERSION_MICRO 3 |
| 35 | 35 |
| 36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ | 36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ |
| 37 LIBAVCODEC_VERSION_MINOR, \ | 37 LIBAVCODEC_VERSION_MINOR, \ |
| 38 LIBAVCODEC_VERSION_MICRO) | 38 LIBAVCODEC_VERSION_MICRO) |
| 39 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \ | 39 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \ |
