On 10/12/11 17:33, Justin Ruggles wrote:
From: Stefano Sabatini<[email protected]>
Also return AVERROR_INVALIDDATA rather than -1.
Signed-off-by: Stefano Sabatini<[email protected]>
Signed-off-by: Justin Ruggles<[email protected]>
---
libavcodec/flicvideo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c
index 8e8a813..70d3adb 100644
--- a/libavcodec/flicvideo.c
+++ b/libavcodec/flicvideo.c
@@ -61,9 +61,9 @@
#define CHECK_PIXEL_PTR(n) \
if (pixel_ptr + n> pixel_limit) { \
- av_log (s->avctx, AV_LOG_INFO, "Problem: pixel_ptr>= pixel_limit (%d>=
%d)\n", \
+ av_log (s->avctx, AV_LOG_ERROR, "Invalid pixel_ptr = %d> pixel_limit =
%d\n", \
I'd keep the previous format.
The rest is ok.
lu
--
Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel