[FFmpeg-cvslog] avcodec/tta: Un-break build without threads

Michael Niedermayer git at videolan.org
Sun Oct 4 23:10:08 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Oct  4 22:57:55 2015 +0200| [46f3015f35258ac53d7103cbf6c4f7df589ecaf8] | committer: Michael Niedermayer

avcodec/tta: Un-break build without threads

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=46f3015f35258ac53d7103cbf6c4f7df589ecaf8
---

 libavcodec/tta.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/tta.c b/libavcodec/tta.c
index 1ed90fe..1e2e9c4 100644
--- a/libavcodec/tta.c
+++ b/libavcodec/tta.c
@@ -387,7 +387,6 @@ error:
     return ret;
 }
 
-#if HAVE_THREADS
 static int init_thread_copy(AVCodecContext *avctx)
 {
     TTAContext *s = avctx->priv_data;
@@ -405,7 +404,6 @@ static av_cold int tta_decode_close(AVCodecContext *avctx) {
 
     return 0;
 }
-#endif
 
 #define OFFSET(x) offsetof(TTAContext, x)
 #define DEC (AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM)



More information about the ffmpeg-cvslog mailing list