Skip to content

Commit d391fca

Browse files
committed
Remove old channel stuff
1 parent 69c3404 commit d391fca

1 file changed

Lines changed: 1 addition & 19 deletions

File tree

include/libavcodec/avcodec.pxd

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,10 @@
1-
from libc.stdint cimport int8_t, int64_t, uint16_t, uint32_t, uint8_t
1+
from libc.stdint cimport int64_t, uint16_t, uint32_t, uint8_t
22

33
cdef extern from "libavcodec/codec.h":
44
struct AVCodecTag:
55
pass
66

7-
cdef extern from "libavcodec/codec_id.h":
8-
AVCodecID av_codec_get_id(const AVCodecTag *const *tags, uint32_t tag)
9-
10-
117
cdef extern from "libavcodec/packet.h" nogil:
12-
AVPacketSideData* av_packet_side_data_new(
13-
AVPacketSideData **sides,
14-
int *nb_sides,
15-
AVPacketSideDataType type,
16-
size_t size,
17-
int free_opaque
18-
)
19-
208
const AVPacketSideData *av_packet_side_data_get(const AVPacketSideData *sd,
219
int nb_sd,
2210
AVPacketSideDataType type)
@@ -41,12 +29,6 @@ cdef extern from "libavutil/channel_layout.h":
4129
AV_CHAN_FRONT_LEFT
4230
AV_CHAN_FRONT_RIGHT
4331
AV_CHAN_FRONT_CENTER
44-
# ... other channel enum values ...
45-
46-
ctypedef struct AVChannelCustom:
47-
AVChannel id
48-
char name[16]
49-
void *opaque
5032

5133
ctypedef struct AVChannelLayout:
5234
AVChannelOrder order

0 commit comments

Comments
 (0)