comparison dv.c @ 8704:199fdc232f13 libavcodec

Cosmetics: replacing 0 with NULL for pointer assignment
author romansh
date Sat, 31 Jan 2009 01:36:00 +0000
parents 52cfc4fe405c
children 412e06100577
comparison
equal deleted inserted replaced
8703:52cfc4fe405c 8704:199fdc232f13
1013 /* Cr Cb */ 1013 /* Cr Cb */
1014 data = s->picture.data[6 - j] + c_offset; 1014 data = s->picture.data[6 - j] + c_offset;
1015 linesize = s->picture.linesize[6 - j]; 1015 linesize = s->picture.linesize[6 - j];
1016 } else { 1016 } else {
1017 /* j=1 and j=3 are "dummy" blocks, used for AC data only */ 1017 /* j=1 and j=3 are "dummy" blocks, used for AC data only */
1018 data = 0; 1018 data = NULL;
1019 linesize = 0; 1019 linesize = 0;
1020 dummy = 1; 1020 dummy = 1;
1021 } 1021 }
1022 } else { /* 4:1:1 or 4:2:0 */ 1022 } else { /* 4:1:1 or 4:2:0 */
1023 if (j < 4) { /* Four Y blocks */ 1023 if (j < 4) { /* Four Y blocks */