Revision dfd2a005 libavcodec/dvbsub_parser.c

View differences:

libavcodec/dvbsub_parser.c
55 55
    uint8_t *p, *p_end;
56 56
    int len, buf_pos = 0;
57 57

  
58
    dprintf(avctx, "DVB parse packet pts=%"PRIx64", lpts=%"PRIx64", cpts=%"PRIx64":\n",
58
    av_dlog(avctx, "DVB parse packet pts=%"PRIx64", lpts=%"PRIx64", cpts=%"PRIx64":\n",
59 59
            s->pts, s->last_pts, s->cur_frame_pts[s->cur_frame_start_index]);
60 60

  
61 61
#ifdef DEBUG_PACKET_CONTENTS
......
82 82
    {
83 83
        if (pc->packet_index != pc->packet_start)
84 84
        {
85
            dprintf(avctx, "Discarding %d bytes\n",
85
            av_dlog(avctx, "Discarding %d bytes\n",
86 86
                    pc->packet_index - pc->packet_start);
87 87
        }
88 88

  
......
90 90
        pc->packet_index = 0;
91 91

  
92 92
        if (buf_size < 2 || buf[0] != 0x20 || buf[1] != 0x00) {
93
            dprintf(avctx, "Bad packet header\n");
93
            av_dlog(avctx, "Bad packet header\n");
94 94
            return -1;
95 95
        }
96 96

  
......
147 147
        } else if (*p == 0xff) {
148 148
            if (p + 1 < p_end)
149 149
            {
150
                dprintf(avctx, "Junk at end of packet\n");
150
                av_dlog(avctx, "Junk at end of packet\n");
151 151
            }
152 152
            pc->packet_index = p - pc->packet_buf;
153 153
            pc->in_packet = 0;

Also available in: Unified diff