Mercurial > libavcodec.hg
comparison utils.c @ 8596:68e959302527 libavcodec
replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
and remove all ENABLE_ definitions.
author | aurel |
---|---|
date | Wed, 14 Jan 2009 17:19:17 +0000 |
parents | 7a463923ecd1 |
children | 555c2ab21d84 |
comparison
equal
deleted
inserted
replaced
8595:2f476018b4ac | 8596:68e959302527 |
---|---|
566 av_log(avctx, AV_LOG_ERROR, "insufficient thread locking around avcodec_open/close()\n"); | 566 av_log(avctx, AV_LOG_ERROR, "insufficient thread locking around avcodec_open/close()\n"); |
567 entangled_thread_counter--; | 567 entangled_thread_counter--; |
568 return -1; | 568 return -1; |
569 } | 569 } |
570 | 570 |
571 if (ENABLE_THREADS && avctx->thread_opaque) | 571 if (HAVE_THREADS && avctx->thread_opaque) |
572 avcodec_thread_free(avctx); | 572 avcodec_thread_free(avctx); |
573 if (avctx->codec->close) | 573 if (avctx->codec->close) |
574 avctx->codec->close(avctx); | 574 avctx->codec->close(avctx); |
575 avcodec_default_free_buffers(avctx); | 575 avcodec_default_free_buffers(avctx); |
576 av_freep(&avctx->priv_data); | 576 av_freep(&avctx->priv_data); |