Mercurial > libavcodec.hg
comparison h264.c @ 11466:049a0c71e5a3 libavcodec
Fix indention
author | michael |
---|---|
date | Fri, 12 Mar 2010 15:23:26 +0000 |
parents | 2e9cf41e2c2e |
children | 2a4dc3c0b012 |
comparison
equal
deleted
inserted
replaced
11465:2e9cf41e2c2e | 11466:049a0c71e5a3 |
---|---|
960 for(i = 0; i < s->avctx->thread_count; i++) | 960 for(i = 0; i < s->avctx->thread_count; i++) |
961 if(!h->thread_context[i]->s.obmc_scratchpad) | 961 if(!h->thread_context[i]->s.obmc_scratchpad) |
962 h->thread_context[i]->s.obmc_scratchpad = av_malloc(16*2*s->linesize + 8*2*s->uvlinesize); | 962 h->thread_context[i]->s.obmc_scratchpad = av_malloc(16*2*s->linesize + 8*2*s->uvlinesize); |
963 | 963 |
964 /* some macroblocks can be accessed before they're available in case of lost slices, mbaff or threading*/ | 964 /* some macroblocks can be accessed before they're available in case of lost slices, mbaff or threading*/ |
965 memset(h->slice_table, -1, (s->mb_height*s->mb_stride-1) * sizeof(*h->slice_table)); | 965 memset(h->slice_table, -1, (s->mb_height*s->mb_stride-1) * sizeof(*h->slice_table)); |
966 | 966 |
967 // s->decode= (s->flags&CODEC_FLAG_PSNR) || !s->encoding || s->current_picture.reference /*|| h->contains_intra*/ || 1; | 967 // s->decode= (s->flags&CODEC_FLAG_PSNR) || !s->encoding || s->current_picture.reference /*|| h->contains_intra*/ || 1; |
968 | 968 |
969 // We mark the current picture as non-reference after allocating it, so | 969 // We mark the current picture as non-reference after allocating it, so |
970 // that if we break out due to an error it can be released automatically | 970 // that if we break out due to an error it can be released automatically |