diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-29 19:22:29 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-29 19:22:29 +0200 |
commit | 818f3dc907ff536ffd5a4ad58935a182e175509d (patch) | |
tree | 1bac632ba48090fb840a086fb6d351bdd466c69d /libavcodec/audio_frame_queue.c | |
parent | ad7fae4ee1f9c1c080bb4c8760ac503a11420bba (diff) | |
download | ffmpeg-818f3dc907ff536ffd5a4ad58935a182e175509d.tar.gz |
audio_frame_que: remove broken code that is specific to old audio_que
This should fix compilation with -DDEBUG
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/audio_frame_queue.c')
-rw-r--r-- | libavcodec/audio_frame_queue.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libavcodec/audio_frame_queue.c b/libavcodec/audio_frame_queue.c index 274588c9cb..cc1fd13c4b 100644 --- a/libavcodec/audio_frame_queue.c +++ b/libavcodec/audio_frame_queue.c @@ -40,22 +40,6 @@ void ff_af_queue_close(AudioFrameQueue *afq) memset(afq, 0, sizeof(*afq)); } -#ifdef DEBUG -static void af_queue_log_state(AudioFrameQueue *afq) -{ - AudioFrame *f; - av_dlog(afq->avctx, "remaining delay = %d\n", afq->remaining_delay); - av_dlog(afq->avctx, "remaining samples = %d\n", afq->remaining_samples); - av_dlog(afq->avctx, "frames:\n"); - f = afq->frame_queue; - while (f) { - av_dlog(afq->avctx, " [ pts=%9"PRId64" duration=%d ]\n", - f->pts, f->duration); - f = f->next; - } -} -#endif /* DEBUG */ - int ff_af_queue_add(AudioFrameQueue *afq, const AVFrame *f) { AudioFrame *new = av_fast_realloc(afq->frames, &afq->frame_alloc, sizeof(*afq->frames)*(afq->frame_count+1)); |