Refactoring debug code

Origin commit data
------------------
Branch: master
Commit: 47ac829467
Author: samsamsam <samsamsam@o2.pl>
Date: 2019-01-11 (Fri, 11 Jan 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
samsamsam
2019-01-11 18:57:06 +01:00
committed by max_10
parent 58427fc9b8
commit f4c3422227
53 changed files with 1404 additions and 1398 deletions

View File

@@ -26,18 +26,11 @@
#include <ffmpeg/put_bits.h>
#include <ffmpeg/mpeg4audio.h>
#include <ffmpeg/latmenc.h>
#include "debug.h"
/* ***************************** */
/* Makros/Constants */
/* ***************************** */
//#define LATMENC_SILENT
#ifndef LATMENC_SILENT
#define latmenc_err(fmt, x...) do { printf("[%s:%s] " fmt, __FILE__, __FUNCTION__, ## x); } while (0)
#else
#define latmenc_err(fmt, x...)
#endif
int latmenc_decode_extradata(LATMContext *ctx, uint8_t *buf, int size)
{