lavf: return APIC fourcc from query_format() if the codec is supported as an attachment pic
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b2bc48ae22
commit
f9f11c1000
@ -434,6 +434,7 @@ typedef struct AVOutputFormat {
|
|||||||
*
|
*
|
||||||
* @return 1 if the codec is supported, 0 if it is not.
|
* @return 1 if the codec is supported, 0 if it is not.
|
||||||
* A negative number if unknown.
|
* A negative number if unknown.
|
||||||
|
* MKTAG('A', 'P', 'I', 'C') if the codec is only supported as AV_DISPOSITION_ATTACHED_PIC
|
||||||
*/
|
*/
|
||||||
int (*query_codec)(enum AVCodecID id, int std_compliance);
|
int (*query_codec)(enum AVCodecID id, int std_compliance);
|
||||||
|
|
||||||
|
|||||||
@ -30,8 +30,8 @@
|
|||||||
#include "libavutil/avutil.h"
|
#include "libavutil/avutil.h"
|
||||||
|
|
||||||
#define LIBAVFORMAT_VERSION_MAJOR 54
|
#define LIBAVFORMAT_VERSION_MAJOR 54
|
||||||
#define LIBAVFORMAT_VERSION_MINOR 22
|
#define LIBAVFORMAT_VERSION_MINOR 23
|
||||||
#define LIBAVFORMAT_VERSION_MICRO 104
|
#define LIBAVFORMAT_VERSION_MICRO 100
|
||||||
|
|
||||||
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
|
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
|
||||||
LIBAVFORMAT_VERSION_MINOR, \
|
LIBAVFORMAT_VERSION_MINOR, \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user