Revision 83f8c0c3

View differences:

libavcodec/utils.c
820 820
    if(level>av_log_level)
821 821
	    return;
822 822
    if(avctx && print_prefix)
823
        fprintf(stderr, "[%s @ %p]", avctx->codec->name, avctx);
823
        fprintf(stderr, "[%s @ %p]", avctx->codec ? avctx->codec->name : "?", avctx);
824 824
        
825 825
    print_prefix= (int)strstr(fmt, "\n");
826 826
        

Also available in: Unified diff