Skip to content

Commit

Permalink
osdep/android: remove strnlen workaround
Browse files Browse the repository at this point in the history
It has been fixed by now in Android NDK.

See: https://code.google.com/p/android/issues/detail?id=74741
  • Loading branch information
kasper93 committed Oct 25, 2023
1 parent 032b7de commit 31019e2
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 109 deletions.
1 change: 0 additions & 1 deletion audio/out/ao_wasapi_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "audio/format.h"
#include "osdep/timer.h"
#include "osdep/io.h"
#include "osdep/strnlen.h"
#include "ao_wasapi.h"

DEFINE_PROPERTYKEY(mp_PKEY_Device_FriendlyName,
Expand Down
1 change: 0 additions & 1 deletion common/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include "misc/bstr.h"
#include "misc/ctype.h"
#include "common/common.h"
#include "osdep/strnlen.h"

#define appendf(ptr, ...) \
do {(*(ptr)) = talloc_asprintf_append_buffer(*(ptr), __VA_ARGS__);} while(0)
Expand Down
1 change: 0 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,6 @@ if features['android']
dependencies += cc.find_library('android')
sources += files('audio/out/ao_audiotrack.c',
'misc/jni.c',
'osdep/android/strnlen.c',
'video/out/android_common.c',
'video/out/vo_mediacodec_embed.c')
endif
Expand Down
1 change: 0 additions & 1 deletion misc/language.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "language.h"

#include "common/common.h"
#include "osdep/strnlen.h"

#include <stdbool.h>
#include <stddef.h>
Expand Down
40 changes: 0 additions & 40 deletions osdep/android/strnlen.c

This file was deleted.

33 changes: 0 additions & 33 deletions osdep/android/strnlen.h

This file was deleted.

31 changes: 0 additions & 31 deletions osdep/strnlen.h

This file was deleted.

1 change: 0 additions & 1 deletion ta/ta_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include "osdep/strnlen.h"

#define TA_NO_WRAPPERS
#include "ta.h"
Expand Down

0 comments on commit 31019e2

Please sign in to comment.