Revision 8f1e203a

View differences:

libavcodec/dv.c
631 631
                dv_decode_ac(&gb, mb, block);
632 632
            }
633 633
            if (mb->pos >= 64 && mb->pos < 127)
634
                av_log(NULL, AV_LOG_ERROR, "AC EOB marker is absent pos=%d\n", mb->pos);
634
                av_log(avctx, AV_LOG_ERROR, "AC EOB marker is absent pos=%d\n", mb->pos);
635 635
            block += 64;
636 636
            mb++;
637 637
        }
......
1099 1099
       if (enc_blks[j].partial_bit_count)
1100 1100
           pb = dv_encode_ac(&enc_blks[j], pb, &pbs[s->sys->bpm*5]);
1101 1101
       if (enc_blks[j].partial_bit_count)
1102
            av_log(NULL, AV_LOG_ERROR, "ac bitstream overflow\n");
1102
            av_log(avctx, AV_LOG_ERROR, "ac bitstream overflow\n");
1103 1103
    }
1104 1104

  
1105 1105
    for (j=0; j<5*s->sys->bpm; j++) {

Also available in: Unified diff