Remove variable whose value was never read. Found by clang.
Originally committed as revision 22794 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c99baf05c3
commit
2bb962567e
@ -294,14 +294,13 @@ void avfilter_end_frame(AVFilterLink *link)
|
|||||||
void avfilter_draw_slice(AVFilterLink *link, int y, int h, int slice_dir)
|
void avfilter_draw_slice(AVFilterLink *link, int y, int h, int slice_dir)
|
||||||
{
|
{
|
||||||
uint8_t *src[4], *dst[4];
|
uint8_t *src[4], *dst[4];
|
||||||
int i, j, hsub, vsub;
|
int i, j, vsub;
|
||||||
void (*draw_slice)(AVFilterLink *, int, int, int);
|
void (*draw_slice)(AVFilterLink *, int, int, int);
|
||||||
|
|
||||||
DPRINTF_START(NULL, draw_slice); dprintf_link(NULL, link, 0); dprintf(NULL, " y:%d h:%d dir:%d\n", y, h, slice_dir);
|
DPRINTF_START(NULL, draw_slice); dprintf_link(NULL, link, 0); dprintf(NULL, " y:%d h:%d dir:%d\n", y, h, slice_dir);
|
||||||
|
|
||||||
/* copy the slice if needed for permission reasons */
|
/* copy the slice if needed for permission reasons */
|
||||||
if(link->srcpic) {
|
if(link->srcpic) {
|
||||||
hsub = av_pix_fmt_descriptors[link->format].log2_chroma_w;
|
|
||||||
vsub = av_pix_fmt_descriptors[link->format].log2_chroma_h;
|
vsub = av_pix_fmt_descriptors[link->format].log2_chroma_h;
|
||||||
|
|
||||||
for(i = 0; i < 4; i ++) {
|
for(i = 0; i < 4; i ++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user