mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-22 16:40:18 +08:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: (28 commits) Remove some non-compiling debug messages. ffplay: Fix non-compiling debug printf and replace it by av_dlog. H264: x86 predict init cosmetics. ac3enc: Fix linking of AC-3 encoder without the E-AC-3 encoder. Move E-AC-3 encoder functions to a separate eac3enc.c file. ac3enc: remove convenience macro, #define DEBUG ac3enc: remove unused #define vc1: re-initialize tables after width/height change. APIchanges: fill-in git commit hash for av_get_bytes_per_sample() addition samplefmt: add av_get_bytes_per_sample() iirfilter: fix biquad filter coefficients. swscale: remove duplicate conversion routine in swScale(). swscale: add yuv2planar/packed function typedefs. swscale: integrate yuv2nv12X_C into yuv2yuvX() function pointers. swscale: reindent x86 init code. swscale: extract SWS_FULL_CHR_H_INT conditional into init code. swscale: cosmetics. swscale: remove alp/chr/lumSrcOffset. swscale: un-special-case yuv2yuvX16_c(). shorten: Remove stray DEBUG #define and corresponding av_dlog statement. ... Conflicts: doc/APIchanges libavcodec/ac3enc.c libavutil/avutil.h libavutil/samplefmt.c libswscale/swscale.c libswscale/swscale_internal.h libswscale/x86/swscale_template.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -22,9 +22,6 @@
|
||||
#include "dsputil.h"
|
||||
#include "get_bits.h"
|
||||
|
||||
//#define DEBUG
|
||||
//#define DEBUG_PACKET_CONTENTS
|
||||
|
||||
/* Parser (mostly) copied from dvdsub.c */
|
||||
|
||||
#define PARSE_BUF_SIZE (65536)
|
||||
@@ -53,25 +50,20 @@ static int dvbsub_parse(AVCodecParserContext *s,
|
||||
{
|
||||
DVBSubParseContext *pc = s->priv_data;
|
||||
uint8_t *p, *p_end;
|
||||
int len, buf_pos = 0;
|
||||
int i, len, buf_pos = 0;
|
||||
|
||||
av_dlog(avctx, "DVB parse packet pts=%"PRIx64", lpts=%"PRIx64", cpts=%"PRIx64":\n",
|
||||
s->pts, s->last_pts, s->cur_frame_pts[s->cur_frame_start_index]);
|
||||
|
||||
#ifdef DEBUG_PACKET_CONTENTS
|
||||
int i;
|
||||
|
||||
for (i=0; i < buf_size; i++)
|
||||
{
|
||||
av_log(avctx, AV_LOG_INFO, "%02x ", buf[i]);
|
||||
av_dlog(avctx, "%02x ", buf[i]);
|
||||
if (i % 16 == 15)
|
||||
av_log(avctx, AV_LOG_INFO, "\n");
|
||||
av_dlog(avctx, "\n");
|
||||
}
|
||||
|
||||
if (i % 16 != 0)
|
||||
av_log(avctx, AV_LOG_INFO, "\n");
|
||||
|
||||
#endif
|
||||
av_dlog(avctx, "\n");
|
||||
|
||||
*poutbuf = NULL;
|
||||
*poutbuf_size = 0;
|
||||
|
Reference in New Issue
Block a user