proresenc: make a variable local to the loop where it is used
authorMans Rullgard <mans@mansr.com>
Sun, 1 Jul 2012 12:38:12 +0000 (13:38 +0100)
committerMans Rullgard <mans@mansr.com>
Sun, 1 Jul 2012 19:38:14 +0000 (20:38 +0100)
commit1c2c64edac4bd2b65b6d2f8d1489eed40f8a5458
treeeec295bc5c2f7d3f25dfd4851320f8a542289320
parent4ca6d206d1b5beea42c4290d2ee801aaf5cd31f0
proresenc: make a variable local to the loop where it is used

This moves the mbs_per_slice declaration inside the only loop
where it is used.  Fixes a dead assignment.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/proresenc.c