Showing the changes to tests/api (2 of 3 files). Show all
Unified · Split
| @@ -3,7 +3,7 @@ APITESTPROGS-$(call DEMDEC, H264, H264) += api-h264 · 2 unmodified lines | |||
| 3 | APITESTPROGS-yes += api-seek | 3 | APITESTPROGS-yes += api-seek |
| 4 | APITESTPROGS-yes += api-codec-param | 4 | APITESTPROGS-yes += api-codec-param |
| 5 | APITESTPROGS-$(call DEMDEC, H263, H263) += api-band | 5 | APITESTPROGS-$(call DEMDEC, H263, H263) += api-band |
| 6 | APITESTPROGS-$(HAVE_PTHREADS) += api-threadmessage | 6 | APITESTPROGS-$(HAVE_THREADS) += api-threadmessage |
| 7 | APITESTPROGS += $(APITESTPROGS-yes) | 7 | APITESTPROGS += $(APITESTPROGS-yes) |
| 8 | 8 | ||
| 9 | APITESTOBJS := $(APITESTOBJS:%=$(APITESTSDIR)%) $(APITESTPROGS:%=$(APITESTSDIR)/%-test.o) | 9 | APITESTOBJS := $(APITESTOBJS:%=$(APITESTSDIR)%) $(APITESTPROGS:%=$(APITESTSDIR)/%-test.o) |
| @@ -22,12 +22,11 @@ · 21 unmodified lines | |||
| 22 | * Thread message API test | 22 | * Thread message API test |
| 23 | */ | 23 | */ |
| 24 | 24 | ||
| 25 | #include <pthread.h> | ||
| 26 | |||
| 27 | #include "libavutil/avassert.h" | 25 | #include "libavutil/avassert.h" |
| 28 | #include "libavutil/avstring.h" | 26 | #include "libavutil/avstring.h" |
| 29 | #include "libavutil/frame.h" | 27 | #include "libavutil/frame.h" |
| 30 | #include "libavutil/threadmessage.h" | 28 | #include "libavutil/threadmessage.h" |
| 29 | #include "libavutil/thread.h" // not public | ||
| 31 | 30 | ||
| 32 | struct sender_data { | 31 | struct sender_data { |
| 33 | int id; | 32 | int id; |