Mercurial > libavcodec.hg
comparison os2thread.c @ 4195:6b784f65ce16 libavcodec
Remove redundant #ifdef HAVE_THREAD, the file is only compiled
if that condition holds anyway.
author | diego |
---|---|
date | Tue, 14 Nov 2006 00:56:56 +0000 |
parents | c8c591fe26f8 |
children | f99e40a7155b |
comparison
equal
deleted
inserted
replaced
4194:6a1e9e3a7303 | 4195:6b784f65ce16 |
---|---|
22 | 22 |
23 // Ported by Vlad Stelmahovsky | 23 // Ported by Vlad Stelmahovsky |
24 | 24 |
25 #include "avcodec.h" | 25 #include "avcodec.h" |
26 #include "common.h" | 26 #include "common.h" |
27 | |
28 #ifdef HAVE_THREADS | |
29 | 27 |
30 #define INCL_DOS | 28 #define INCL_DOS |
31 #define INCL_DOSERRORS | 29 #define INCL_DOSERRORS |
32 #define INCL_DOSDEVIOCTL | 30 #define INCL_DOSDEVIOCTL |
33 #include <os2.h> | 31 #include <os2.h> |
145 return 0; | 143 return 0; |
146 fail: | 144 fail: |
147 avcodec_thread_free(s); | 145 avcodec_thread_free(s); |
148 return -1; | 146 return -1; |
149 } | 147 } |
150 #endif |