aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg/libilbc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ffmpeg/libilbc.patch')
-rw-r--r--multimedia/ffmpeg/libilbc.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/multimedia/ffmpeg/libilbc.patch b/multimedia/ffmpeg/libilbc.patch
deleted file mode 100644
index 29274120af84..000000000000
--- a/multimedia/ffmpeg/libilbc.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/libavcodec/libilbc.c b/libavcodec/libilbc.c
-index 898fe83..9fdd3c8 100644
---- a/libavcodec/libilbc.c
-+++ b/libavcodec/libilbc.c
-@@ -96,8 +96,7 @@ static int ilbc_decode_frame(AVCodecContext *avctx, void *data,
- if ((ret = ff_get_buffer(avctx, frame, 0)) < 0)
- return ret;
-
-- WebRtcIlbcfix_DecodeImpl((WebRtc_Word16*) frame->data[0],
-- (const WebRtc_UWord16*) buf, &s->decoder, 1);
-+ WebRtcIlbcfix_DecodeImpl((int16_t *) frame->data[0], (const uint16_t *) buf, &s->decoder, 1);
-
- *got_frame_ptr = 1;
-
-@@ -170,7 +169,7 @@ static int ilbc_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
- if ((ret = ff_alloc_packet2(avctx, avpkt, 50)) < 0)
- return ret;
-
-- WebRtcIlbcfix_EncodeImpl((WebRtc_UWord16*) avpkt->data, (const WebRtc_Word16*) frame->data[0], &s->encoder);
-+ WebRtcIlbcfix_EncodeImpl((uint16_t *) avpkt->data, (const int16_t *) frame->data[0], &s->encoder);
-
- avpkt->size = s->encoder.no_of_bytes;
- *got_packet_ptr = 1;