Mercurial > libavcodec.hg
comparison mpeg12.c @ 10368:59ec306245a4 libavcodec
Remove casts that are useless since the argument is void *.
author | reimar |
---|---|
date | Tue, 06 Oct 2009 06:33:18 +0000 |
parents | 981143737752 |
children | 95f3daa991a2 |
comparison
equal
deleted
inserted
replaced
10367:b790df0d7046 | 10368:59ec306245a4 |
---|---|
2307 if (start_code > 0x1ff){ | 2307 if (start_code > 0x1ff){ |
2308 if(s2->pict_type != FF_B_TYPE || avctx->skip_frame <= AVDISCARD_DEFAULT){ | 2308 if(s2->pict_type != FF_B_TYPE || avctx->skip_frame <= AVDISCARD_DEFAULT){ |
2309 if(avctx->thread_count > 1){ | 2309 if(avctx->thread_count > 1){ |
2310 int i; | 2310 int i; |
2311 | 2311 |
2312 avctx->execute(avctx, slice_decode_thread, (void**)&(s2->thread_context[0]), NULL, s->slice_count, sizeof(void*)); | 2312 avctx->execute(avctx, slice_decode_thread, &s2->thread_context[0], NULL, s->slice_count, sizeof(void*)); |
2313 for(i=0; i<s->slice_count; i++) | 2313 for(i=0; i<s->slice_count; i++) |
2314 s2->error_count += s2->thread_context[i]->error_count; | 2314 s2->error_count += s2->thread_context[i]->error_count; |
2315 } | 2315 } |
2316 | 2316 |
2317 if (CONFIG_MPEG_VDPAU_DECODER && avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU) | 2317 if (CONFIG_MPEG_VDPAU_DECODER && avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU) |