Commit 89cecbf5 authored by romansh's avatar romansh

Factoring out chan_slice / 27 into seq variable


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14997 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8de7d40e
...@@ -965,7 +965,10 @@ static int dv_decode_mt(AVCodecContext *avctx, void* sl) ...@@ -965,7 +965,10 @@ static int dv_decode_mt(AVCodecContext *avctx, void* sl)
/* byte offset of this channel's data */ /* byte offset of this channel's data */
int chan_offset = chan * s->sys->difseg_size * 150 * 80; int chan_offset = chan * s->sys->difseg_size * 150 * 80;
dv_decode_video_segment(s, &s->buf[((chan_slice/27)*6+(chan_slice/3)+chan_slice*5+7)*80 + chan_offset], /* DIF sequence */
int seq = chan_slice / 27;
dv_decode_video_segment(s, &s->buf[(seq*6+(chan_slice/3)+chan_slice*5+7)*80 + chan_offset],
&s->sys->video_place[slice*5]); &s->sys->video_place[slice*5]);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment