aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2020-04-01 21:28:09 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2020-04-04 23:26:15 +0200
commitc59233d50336c8f8eedd94f960ef927ffbae5c29 (patch)
treeece327903daff754321b74cb9ec01e07cad591e3 /libavcodec
parent61dcaf5fb74d11209683da1a98aa324df54147ed (diff)
downloadffmpeg-c59233d50336c8f8eedd94f960ef927ffbae5c29.tar.gz
lavc/sbc: Remove bool usage.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/sbcdec.c1
-rw-r--r--libavcodec/sbcenc.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/sbcdec.c b/libavcodec/sbcdec.c
index 2ebde46627..5361ee2c89 100644
--- a/libavcodec/sbcdec.c
+++ b/libavcodec/sbcdec.c
@@ -30,7 +30,6 @@
* SBC decoder implementation
*/
-#include <stdbool.h>
#include "avcodec.h"
#include "internal.h"
#include "libavutil/intreadwrite.h"
diff --git a/libavcodec/sbcenc.c b/libavcodec/sbcenc.c
index e2929e22ac..631acf7905 100644
--- a/libavcodec/sbcenc.c
+++ b/libavcodec/sbcenc.c
@@ -30,7 +30,6 @@
* SBC encoder implementation
*/
-#include <stdbool.h>
#include "libavutil/opt.h"
#include "avcodec.h"
#include "internal.h"
@@ -95,7 +94,7 @@ static int sbc_analyze_audio(SBCDSPContext *s, struct sbc_frame *frame)
* Returns the length of the packed frame.
*/
static size_t sbc_pack_frame(AVPacket *avpkt, struct sbc_frame *frame,
- int joint, bool msbc)
+ int joint, int msbc)
{
PutBitContext pb;