From aa39516a04f7a7b91bf03e0fad0afce41acd1de1 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Wed, 4 Jul 2012 12:42:48 +0200 Subject: error: define AVERROR_BUFFER_TOO_SMALL. Some API require a buffer and return a specific error if it is too small. This error code helps to map codes. --- libavutil/error.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavutil/error.c') diff --git a/libavutil/error.c b/libavutil/error.c index cd31e66340..71856a1d57 100644 --- a/libavutil/error.c +++ b/libavutil/error.c @@ -31,6 +31,7 @@ struct error_entry error_entries[] = { { ERROR_TAG(BSF_NOT_FOUND), "Bitstream filter not found" }, { ERROR_TAG(BUG), "Internal bug, should not have happened" }, { ERROR_TAG(BUG2), "Internal bug, should not have happened" }, + { ERROR_TAG(BUFFER_TOO_SMALL), "Buffer too small" }, { ERROR_TAG(DECODER_NOT_FOUND), "Decoder not found" }, { ERROR_TAG(DEMUXER_NOT_FOUND), "Demuxer not found" }, { ERROR_TAG(ENCODER_NOT_FOUND), "Encoder not found" }, -- cgit v1.2.1