History

Merge commit '90f9a5830b5d332de7ebb1ab45589f1870cbd65d'

* commit '90f9a5830b5d332de7ebb1ab45589f1870cbd65d': w32pthreads: move from lavc to compat/ Conflicts: libavcodec/Makefile libavcodec/pthread.c libavcodec/vp8.h

Michael Niedermayer committed 13 years ago

Commit a4d37572 parents ecbd96e 90f9a587 files · +12 −13Browse files

Unified · Split

7 files
  1. Makefile +1 −1
  2. compat/w32pthreads.h +7 −7
  3. libavcodec/Makefile +0 −1
  4. libavcodec/frame_thread_encoder.c +1 −1
  5. libavcodec/pthread.c +1 −1
  6. libavcodec/vp8.h +1 −1
  7. libavformat/network.c +1 −1
Makefile+1−1
@@ -43,7 +43,7 @@ FFLIBS := avutil · 42 unmodified lines
43DATA_FILES := $(wildcard $(SRC_PATH)/presets/*.ffpreset) $(SRC_PATH)/doc/ffprobe.xsd43DATA_FILES := $(wildcard $(SRC_PATH)/presets/*.ffpreset) $(SRC_PATH)/doc/ffprobe.xsd
44EXAMPLES_FILES := $(wildcard $(SRC_PATH)/doc/examples/*.c) $(SRC_PATH)/doc/examples/Makefile $(SRC_PATH)/doc/examples/README44EXAMPLES_FILES := $(wildcard $(SRC_PATH)/doc/examples/*.c) $(SRC_PATH)/doc/examples/Makefile $(SRC_PATH)/doc/examples/README
45 45
46SKIPHEADERS = cmdutils_common_opts.h46SKIPHEADERS = cmdutils_common_opts.h compat/w32pthreads.h
47 47
48include $(SRC_PATH)/common.mak48include $(SRC_PATH)/common.mak
49 49
compat/w32pthreads.hrenamed from libavcodec/w32pthreads.h+7−7
@@ -4,20 +4,20 @@ · 3 unmodified lines
4 * Authors: Steven Walters <kemuri9@gmail.com>4 * Authors: Steven Walters <kemuri9@gmail.com>
5 * Pegasys Inc. <http://www.pegasys-inc.com>5 * Pegasys Inc. <http://www.pegasys-inc.com>
6 *6 *
7 * This file is part of Libav.7 * This file is part of FFmpeg.
8 *8 *
9 * Libav is free software; you can redistribute it and/or9 * FFmpeg is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either11 * License as published by the Free Software Foundation; either
12 * version 2.1 of the License, or (at your option) any later version.12 * version 2.1 of the License, or (at your option) any later version.
13 *13 *
14 * Libav is distributed in the hope that it will be useful,14 * FFmpeg is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.17 * Lesser General Public License for more details.
18 *18 *
19 * You should have received a copy of the GNU Lesser General Public19 * You should have received a copy of the GNU Lesser General Public
20 * License along with Libav; if not, write to the Free Software20 * License along with FFmpeg; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 */22 */
23 23
@@ -26,8 +26,8 @@ · 2 unmodified lines
26 * w32threads to pthreads wrapper26 * w32threads to pthreads wrapper
27 */27 */
28 28
29#ifndef AVCODEC_W32PTHREADS_H29#ifndef LIBAV_W32PTHREADS_H
30#define AVCODEC_W32PTHREADS_H30#define LIBAV_W32PTHREADS_H
31 31
32/* Build up a pthread-like API using underlying Windows API. Have only static32/* Build up a pthread-like API using underlying Windows API. Have only static
33 * methods so as to not conflict with a potentially linked in pthread-win3233 * methods so as to not conflict with a potentially linked in pthread-win32
@@ -277,4 +277,4 @@ static void w32thread_init(void) · 243 unmodified lines
277 277
278}278}
279 279
280#endif /* AVCODEC_W32PTHREADS_H */280#endif /* LIBAV_W32PTHREADS_H */
libavcodec/Makefile+0−1
@@ -804,7 +804,6 @@ SKIPHEADERS-$(CONFIG_VAAPI) += vaapi_internal.h · 803 unmodified lines
804SKIPHEADERS-$(CONFIG_VDA) += vda.h804SKIPHEADERS-$(CONFIG_VDA) += vda.h
805SKIPHEADERS-$(CONFIG_VDPAU) += vdpau.h805SKIPHEADERS-$(CONFIG_VDPAU) += vdpau.h
806SKIPHEADERS-$(HAVE_OS2THREADS) += os2threads.h806SKIPHEADERS-$(HAVE_OS2THREADS) += os2threads.h
807SKIPHEADERS-$(HAVE_W32THREADS) += w32pthreads.h
808 807
809TESTPROGS = cabac \808TESTPROGS = cabac \
810 dct \809 dct \
libavcodec/frame_thread_encoder.c+1−1
@@ -30,7 +30,7 @@ · 29 unmodified lines
30#if HAVE_PTHREADS30#if HAVE_PTHREADS
31#include <pthread.h>31#include <pthread.h>
32#elif HAVE_W32THREADS32#elif HAVE_W32THREADS
33#include "w32pthreads.h"33#include "compat/w32pthreads.h"
34#elif HAVE_OS2THREADS34#elif HAVE_OS2THREADS
35#include "os2threads.h"35#include "os2threads.h"
36#endif36#endif
libavcodec/pthread.c+1−1
@@ -61,7 +61,7 @@ · 60 unmodified lines
61#if HAVE_PTHREADS61#if HAVE_PTHREADS
62#include <pthread.h>62#include <pthread.h>
63#elif HAVE_W32THREADS63#elif HAVE_W32THREADS
64#include "w32pthreads.h"64#include "compat/w32pthreads.h"
65#elif HAVE_OS2THREADS65#elif HAVE_OS2THREADS
66#include "os2threads.h"66#include "os2threads.h"
67#endif67#endif
libavcodec/vp8.h+1−1
@@ -36,7 +36,7 @@ · 35 unmodified lines
36#if HAVE_PTHREADS36#if HAVE_PTHREADS
37#include <pthread.h>37#include <pthread.h>
38#elif HAVE_W32THREADS38#elif HAVE_W32THREADS
39#include "w32pthreads.h"39#include "compat/w32pthreads.h"
40#elif HAVE_OS2THREADS40#elif HAVE_OS2THREADS
41#include "os2threads.h"41#include "os2threads.h"
42#endif42#endif
libavformat/network.c+1−1
@@ -31,7 +31,7 @@ · 30 unmodified lines
31#elif HAVE_OS2THREADS31#elif HAVE_OS2THREADS
32#include "libavcodec/os2threads.h"32#include "libavcodec/os2threads.h"
33#else33#else
34#include "libavcodec/w32pthreads.h"34#include "compat/w32pthreads.h"
35#endif35#endif
36#endif36#endif
37 37

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t