Mercurial > libavcodec.hg
comparison imgconvert.c @ 9482:b84bf6239c58 libavcodec
Remove redundant assignment in av_picture_copy() found by CSA.
author | michael |
---|---|
date | Fri, 17 Apr 2009 18:20:12 +0000 |
parents | b9e7aaa98610 |
children | 5e27a38aeb81 |
comparison
equal
deleted
inserted
replaced
9481:44ea854a14b7 | 9482:b84bf6239c58 |
---|---|
1070 enum PixelFormat pix_fmt, int width, int height) | 1070 enum PixelFormat pix_fmt, int width, int height) |
1071 { | 1071 { |
1072 int i; | 1072 int i; |
1073 const PixFmtInfo *pf = &pix_fmt_info[pix_fmt]; | 1073 const PixFmtInfo *pf = &pix_fmt_info[pix_fmt]; |
1074 | 1074 |
1075 pf = &pix_fmt_info[pix_fmt]; | |
1076 switch(pf->pixel_type) { | 1075 switch(pf->pixel_type) { |
1077 case FF_PIXEL_PACKED: | 1076 case FF_PIXEL_PACKED: |
1078 case FF_PIXEL_PLANAR: | 1077 case FF_PIXEL_PLANAR: |
1079 for(i = 0; i < pf->nb_channels; i++) { | 1078 for(i = 0; i < pf->nb_channels; i++) { |
1080 int h; | 1079 int h; |