Ticket #2229: patchdebugswsdst

File patchdebugswsdst, 801 bytes (added by Carl Eugen Hoyos, 14 years ago)
Line 
1diff --git a/libswscale/swscale.c b/libswscale/swscale.c
2index bb90819..7c4104f 100644
3--- a/libswscale/swscale.c
4+++ b/libswscale/swscale.c
5@@ -801,6 +801,7 @@ int attribute_align_arg sws_scale(struct SwsContext *c,
6 const uint8_t *src2[4];
7 uint8_t *dst2[4];
8 uint8_t *rgb0_tmp = NULL;
9+av_log(NULL, AV_LOG_ERROR, "sws_scale() begin - dst: %p, dst[-1]: %d \n", dst[0], dst[0][-1]);
10
11 if (!srcSlice || !dstStride || !dst || !srcSlice) {
12 av_log(c, AV_LOG_ERROR, "One of the input parameters to sws_scale() is NULL, please check the calling code\n");
13@@ -969,6 +970,7 @@ int attribute_align_arg sws_scale(struct SwsContext *c,
14 }
15
16 av_free(rgb0_tmp);
17+av_log(NULL, AV_LOG_ERROR, "sws_scale() end - dst: %p, dst[-1]: %d \n", dst[0], dst[0][-1]);
18 return ret;
19 }
20
21