X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fadx.c;h=63358650ed03a51ee269e29d7f3bc2ab571a2996;hb=43af264de8606668c6b2fa7f96c946bdc3dbe072;hp=1e5d89c991ad40bac44acb65d05065663c8d994c;hpb=6fd075f1806e375f66ce436cca15e085f0088118;p=ffmpeg diff --git a/libavcodec/adx.c b/libavcodec/adx.c index 1e5d89c991a..63358650ed0 100644 --- a/libavcodec/adx.c +++ b/libavcodec/adx.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/common.h" #include "libavutil/intreadwrite.h" #include "libavutil/mathematics.h" #include "adx.h" @@ -52,7 +53,7 @@ int avpriv_adx_decode_header(AVCodecContext *avctx, const uint8_t *buf, /* check for encoding=3 block_size=18, sample_size=4 */ if (buf[4] != 3 || buf[5] != 18 || buf[6] != 4) { - av_log_ask_for_sample(avctx, "unsupported ADX format\n"); + avpriv_request_sample(avctx, "Support for this ADX format"); return AVERROR_PATCHWELCOME; }