How's this for a message? is av_log OK or should I just use fprintf(stderr, ...)? av_log(avctx, AV_LOG_WARNING, "Warning: input buffer not allocated.\n"); -- Sean