[FFmpeg-soc] [soc]: r1300 - rv40/rv40.c
kostya
subversion at mplayerhq.hu
Fri Sep 7 18:22:42 CEST 2007
Author: kostya
Date: Fri Sep 7 18:22:42 2007
New Revision: 1300
Log:
Remove unused variables
Modified:
rv40/rv40.c
Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c (original)
+++ rv40/rv40.c Fri Sep 7 18:22:42 2007
@@ -1780,7 +1780,6 @@ static int rv40_decode_slice(RV40DecCont
MpegEncContext *s = &r->s;
GetBitContext *gb = &s->gb;
int mb_pos;
- int mb_w = s->mb_width, mb_h = s->mb_height;
*last = 1;
init_get_bits(&r->s.gb, r->slice_data, r->si.size);
@@ -1807,10 +1806,6 @@ static int rv40_decode_slice(RV40DecCont
if(!r->truncated && r->prev_si.type != -1 && (r->si.type != r->prev_si.type || r->si.start <= r->prev_si.start || r->si.width != r->prev_si.width || r->si.height != r->prev_si.height)){
av_log(s->avctx, AV_LOG_ERROR, "Slice headers mismatch\n");
}
- if(!avcodec_check_dimensions(s->avctx, r->si.width, r->si.height)){
- mb_w = (r->si.width + 15) >> 4;
- mb_h = (r->si.height + 15) >> 4;
- }
if ((s->mb_x == 0 && s->mb_y == 0) || s->current_picture_ptr==NULL) {
if(s->width != r->si.width || s->height != r->si.height /*&& avcodec_check_dimensions(s->avctx, r->si.width, r->si.height) >= 0 */){
av_log(s->avctx, AV_LOG_DEBUG, "Changing dimensions to %dx%d\n", r->si.width,r->si.height);
More information about the FFmpeg-soc
mailing list