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
4343 DATA_FILES := $(wildcard $(SRC_PATH)/presets/*.ffpreset) $(SRC_PATH)/doc/ffprobe.xsd
4444 EXAMPLES_FILES := $(wildcard $(SRC_PATH)/doc/examples/*.c) $(SRC_PATH)/doc/examples/Makefile $(SRC_PATH)/doc/examples/README
4545
46−SKIPHEADERS = cmdutils_common_opts.h
46+SKIPHEADERS = cmdutils_common_opts.h compat/w32pthreads.h
4747
4848 include $(SRC_PATH)/common.mak
4949
compat/w32pthreads.hrenamed from libavcodec/w32pthreads.h+7−7
@@ -4,20 +4,20 @@ · 3 unmodified lines
44 * Authors: Steven Walters <kemuri9@gmail.com>
55 * Pegasys Inc. <http://www.pegasys-inc.com>
66 *
7− * This file is part of Libav.
7+ * This file is part of FFmpeg.
88 *
9− * Libav is free software; you can redistribute it and/or
9+ * FFmpeg is free software; you can redistribute it and/or
1010 * modify it under the terms of the GNU Lesser General Public
1111 * License as published by the Free Software Foundation; either
1212 * version 2.1 of the License, or (at your option) any later version.
1313 *
14− * Libav is distributed in the hope that it will be useful,
14+ * FFmpeg is distributed in the hope that it will be useful,
1515 * but WITHOUT ANY WARRANTY; without even the implied warranty of
1616 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1717 * Lesser General Public License for more details.
1818 *
1919 * You should have received a copy of the GNU Lesser General Public
20− * License along with Libav; if not, write to the Free Software
20+ * License along with FFmpeg; if not, write to the Free Software
2121 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2222 */
2323
@@ -26,8 +26,8 @@ · 2 unmodified lines
2626 * w32threads to pthreads wrapper
2727 */
2828
29−#ifndef AVCODEC_W32PTHREADS_H
30−#define AVCODEC_W32PTHREADS_H
29+#ifndef LIBAV_W32PTHREADS_H
30+#define LIBAV_W32PTHREADS_H
3131
3232 /* Build up a pthread-like API using underlying Windows API. Have only static
3333 * 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
277277
278278 }
279279
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
804804 SKIPHEADERS-$(CONFIG_VDA) += vda.h
805805 SKIPHEADERS-$(CONFIG_VDPAU) += vdpau.h
806806 SKIPHEADERS-$(HAVE_OS2THREADS) += os2threads.h
807−SKIPHEADERS-$(HAVE_W32THREADS) += w32pthreads.h
808807
809808 TESTPROGS = cabac \
810809 dct \
libavcodec/frame_thread_encoder.c+1−1
@@ -30,7 +30,7 @@ · 29 unmodified lines
3030 #if HAVE_PTHREADS
3131 #include <pthread.h>
3232 #elif HAVE_W32THREADS
33−#include "w32pthreads.h"
33+#include "compat/w32pthreads.h"
3434 #elif HAVE_OS2THREADS
3535 #include "os2threads.h"
3636 #endif
libavcodec/pthread.c+1−1
@@ -61,7 +61,7 @@ · 60 unmodified lines
6161 #if HAVE_PTHREADS
6262 #include <pthread.h>
6363 #elif HAVE_W32THREADS
64−#include "w32pthreads.h"
64+#include "compat/w32pthreads.h"
6565 #elif HAVE_OS2THREADS
6666 #include "os2threads.h"
6767 #endif
libavcodec/vp8.h+1−1
@@ -36,7 +36,7 @@ · 35 unmodified lines
3636 #if HAVE_PTHREADS
3737 #include <pthread.h>
3838 #elif HAVE_W32THREADS
39−#include "w32pthreads.h"
39+#include "compat/w32pthreads.h"
4040 #elif HAVE_OS2THREADS
4141 #include "os2threads.h"
4242 #endif
libavformat/network.c+1−1
@@ -31,7 +31,7 @@ · 30 unmodified lines
3131 #elif HAVE_OS2THREADS
3232 #include "libavcodec/os2threads.h"
3333 #else
34−#include "libavcodec/w32pthreads.h"
34+#include "compat/w32pthreads.h"
3535 #endif
3636 #endif
3737

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