History

avcodec/aacdec: print element types when debug startcode is set

Michael Niedermayer committed 12 years ago

Commit 1f20fa21 parent b9918a71 file · +3 −0Browse files

Unified · Split

libavcodec/aacdec.c+3−0
@@ -2925,6 +2925,9 @@ static int aac_decode_frame_int(AVCodecContext *avctx, void *data, · 2924 unmodified lines
2925 while ((elem_type = get_bits(gb, 3)) != TYPE_END) {2925 while ((elem_type = get_bits(gb, 3)) != TYPE_END) {
2926 elem_id = get_bits(gb, 4);2926 elem_id = get_bits(gb, 4);
2927 2927
2928 if (avctx->debug & FF_DEBUG_STARTCODE)
2929 av_log(avctx, AV_LOG_DEBUG, "Elem type:%x id:%x\n", elem_type, elem_id);
2930
2928 if (elem_type < TYPE_DSE) {2931 if (elem_type < TYPE_DSE) {
2929 if (!(che=get_che(ac, elem_type, elem_id))) {2932 if (!(che=get_che(ac, elem_type, elem_id))) {
2930 av_log(ac->avctx, AV_LOG_ERROR, "channel element %d.%d is not allocated\n",2933 av_log(ac->avctx, AV_LOG_ERROR, "channel element %d.%d is not allocated\n",

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t