Forgot libav preprocessor condition

This commit is contained in:
ejurgensen 2014-01-09 21:11:01 +01:00
parent a6b586a0ce
commit 95b67668b4

View File

@ -663,6 +663,7 @@ artwork_get(char *filename, int max_w, int max_h, int format, struct evbuffer *e
return ret; return ret;
} }
#if LIBAVFORMAT_VERSION_MAJOR >= 55 || (LIBAVFORMAT_VERSION_MAJOR == 54 && LIBAVFORMAT_VERSION_MINOR >= 20)
static int static int
artwork_get_embedded_image(char *filename, int max_w, int max_h, int format, struct evbuffer *evbuf) artwork_get_embedded_image(char *filename, int max_w, int max_h, int format, struct evbuffer *evbuf)
{ {
@ -760,6 +761,7 @@ artwork_get_embedded_image(char *filename, int max_w, int max_h, int format, str
return ret; return ret;
} }
#endif
static int static int
artwork_get_own_image(char *path, int max_w, int max_h, int format, struct evbuffer *evbuf) artwork_get_own_image(char *path, int max_w, int max_h, int format, struct evbuffer *evbuf)